Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 109.2 kB / 17.07 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 191 kB / 18.01 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05628/0.05628, allocations: 8.1 MB / 300 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 363.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.267, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006856/0.2739, allocations: 8.843 MB / 423.5 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.2789, allocations: 2.335 MB / 425.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.2806, allocations: 28 kB / 425.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.2819, allocations: 409.2 kB / 426.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.2847, allocations: 0.8346 MB / 427.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.2875, allocations: 1.614 MB / 428.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.2904, allocations: 1.898 MB / 430.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008288/0.2912, allocations: 0.6921 MB / 431.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009468/0.2922, allocations: 0.7823 MB / 432.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.293, allocations: 0.9844 MB / 433.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.2932, allocations: 188 kB / 433.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.294, allocations: 435.8 kB / 433.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.2943, allocations: 406.5 kB / 434.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.295, allocations: 0.9059 MB / 435 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2968, allocations: 2.298 MB / 437.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2968, allocations: 0 / 437.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2968, allocations: 3.938 kB / 437.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.2968, allocations: 0 / 437.3 MB, free: 2.723 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01621/0.313, allocations: 4.153 MB / 441.5 MB, free: 14.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.3131, allocations: 8.031 kB / 441.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.3136, allocations: 186.9 kB / 441.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3151, allocations: 0.9364 MB / 442.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.3153, allocations: 166.9 kB / 442.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.3155, allocations: 140.4 kB / 442.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/0.3187, allocations: 2.017 MB / 444.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3187, allocations: 3.984 kB / 444.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.3189, allocations: 56 kB / 445 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.3189, allocations: 32 kB / 445 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.3218, allocations: 1.946 MB / 447 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.3321, allocations: 8.181 MB / 455.1 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/0.3365, allocations: 4.587 MB / 459.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.3384, allocations: 1.407 MB / 461.1 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.3386, allocations: 45.86 kB / 461.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.3409, allocations: 1.437 MB / 462.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of pre-optimization done (n=201): time 3.667e-06/0.3409, allocations: 4 kB / 462.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=201): time 0.05651/0.3974, allocations: 13.23 MB / 475.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.3976, allocations: 176.2 kB / 476 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3988, allocations: 0.8136 MB / 476.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004182/0.3993, allocations: 73.7 kB / 476.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.3996, allocations: 438.9 kB / 477.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006762/0.4003, allocations: 0.6621 MB / 478 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007413/0.4011, allocations: 379.9 kB / 478.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4012, allocations: 357.9 kB / 478.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.4033, allocations: 1.254 MB / 480 MB, free: 6.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.4054, allocations: 1.438 MB / 481.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.4097, allocations: 2.803 MB / 484.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.4098, allocations: 0 / 484.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01378/0.4236, allocations: 5.263 MB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.4237, allocations: 4 kB / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4237, allocations: 4 kB / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/0.4374, allocations: 3.805 MB / 493.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4388, allocations: 319.5 kB / 493.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03094/0.4698, allocations: 15.86 MB / 0.4975 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/0.4718, allocations: 197.9 kB / 0.4977 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.472, allocations: 75.97 kB / 0.4978 GB, free: 8.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0007953/0.4728, allocations: 373.5 kB / 0.4981 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003417/0.4731, allocations: 138.3 kB / 0.4983 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.4869, allocations: 5.194 MB / 0.5033 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.487, allocations: 31.92 kB / 0.5034 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.487, allocations: 0 / 0.5034 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/0.487, allocations: 11.97 kB / 0.5034 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2245/0.7116, allocations: 7.719 MB / 0.5109 GB, free: 89.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.7116, allocations: 3.984 kB / 0.5109 GB, free: 89.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.7124, allocations: 244.9 kB / 0.5112 GB, free: 89.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/0.7258, allocations: 3.254 MB / 0.5143 GB, free: 89.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000333/0.7261, allocations: 48.05 kB / 0.5144 GB, free: 89.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/0.7503, allocations: 15.64 MB / 0.5296 GB, free: 79.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7504, allocations: 0 / 0.5296 GB, free: 79.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/0.762, allocations: 5.022 MB / 0.5346 GB, free: 74.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.7624, allocations: 240.2 kB / 0.5348 GB, free: 74.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.7626, allocations: 55.56 kB / 0.5348 GB, free: 74.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.7638, allocations: 117.9 kB / 0.5349 GB, free: 74.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005557/0.7644, allocations: 170.8 kB / 0.5351 GB, free: 74.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.7646, allocations: 67.98 kB / 0.5352 GB, free: 74.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006295/0.7652, allocations: 0.538 MB / 0.5357 GB, free: 73.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7652, allocations: 6.5 kB / 0.5357 GB, free: 73.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001565/0.7668, allocations: 0.7303 MB / 0.5364 GB, free: 73.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003101/0.7671, allocations: 179 kB / 0.5366 GB, free: 72.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007348/0.7745, allocations: 4.147 MB / 0.5406 GB, free: 68.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.7745, allocations: 5.281 kB / 0.5406 GB, free: 68.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005465/0.78, allocations: 2.615 MB / 0.5432 GB, free: 66.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.7811, allocations: 182.6 kB / 0.5434 GB, free: 65.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.7857, allocations: 3.077 MB / 0.5464 GB, free: 62.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.7863, allocations: 1.224 MB / 0.5476 GB, free: 61.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006225/0.787, allocations: 198 kB / 0.5478 GB, free: 61.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7872, allocations: 119.4 kB / 0.5479 GB, free: 61.26 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7872, allocations: 0 / 0.5479 GB, free: 61.26 MB / 382.1 MB Notification: Performance of Templates: time 0.05842/0.8457, allocations: 53.18 MB / 0.5998 GB, free: 8.281 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)