Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 187.7 kB / 7.841 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.4 MB / 229.7 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008952, allocations: 100.2 kB / 280.5 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03977/0.03977, allocations: 8.099 MB / 339.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.275e-06, allocations: 0 / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 52.52 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4673, allocations: 80.13 MB / 0.5181 GB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.4675, allocations: 63.97 kB / 0.5182 GB, free: 14.1 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:258:7-259:66:writable] Warning: connect(terminalA, terminalA) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.03305/0.5006, allocations: 12.25 MB / 0.5301 GB, free: 4.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.5007, allocations: 8 kB / 0.5301 GB, free: 4.691 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.002206/0.5029, allocations: 0.8315 MB / 0.531 GB, free: 3.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5029, allocations: 11.97 kB / 0.531 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.5032, allocations: 51.52 kB / 0.531 GB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.5038, allocations: 353.8 kB / 0.5314 GB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5039, allocations: 8 kB / 0.5314 GB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.5039, allocations: 20 kB / 0.5314 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006984/0.5047, allocations: 431.9 kB / 0.5318 GB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.5053, allocations: 406.8 kB / 0.5322 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5053, allocations: 0 / 0.5322 GB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.5054, allocations: 4 kB / 0.5322 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5054, allocations: 11.94 kB / 0.5322 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.5083, allocations: 2.051 MB / 0.5342 GB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.5089, allocations: 441.2 kB / 0.5346 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.5093, allocations: 277.4 kB / 0.5349 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.5095, allocations: 89.09 kB / 0.535 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/0.5101, allocations: 437.5 kB / 0.5354 GB, free: 372 kB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.5101, allocations: 0 / 0.5354 GB, free: 372 kB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002948/0.513, allocations: 0.9733 MB / 0.5363 GB, free: 15.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.5132, allocations: 195.7 kB / 0.5365 GB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5136, allocations: 257 kB / 0.5368 GB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.5136, allocations: 32.77 kB / 0.5368 GB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5137, allocations: 145.1 kB / 0.5369 GB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5139, allocations: 153 kB / 0.5371 GB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.5139, allocations: 0 / 0.5371 GB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.5141, allocations: 344.1 kB / 0.5374 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.5144, allocations: 228 kB / 0.5376 GB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.5148, allocations: 253.5 kB / 0.5379 GB, free: 14.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/0.5156, allocations: 294.6 kB / 0.5382 GB, free: 14.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5156, allocations: 0 / 0.5382 GB, free: 14.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002922/0.5185, allocations: 1.022 MB / 0.5392 GB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5185, allocations: 4 kB / 0.5392 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5186, allocations: 3.938 kB / 0.5392 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.5209, allocations: 488.4 kB / 0.5396 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.5212, allocations: 55.84 kB / 0.5397 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.5267, allocations: 3.312 MB / 0.5429 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.5272, allocations: 35.75 kB / 0.543 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.5272, allocations: 19.55 kB / 0.543 GB, free: 10.54 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = false ) "true means the fault is active" type: Boolean line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = false ) "Imaginary part of complex number" type: Real line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = false ) "Real part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.line2.myFault.fault,line2.myFault.fault,$PRE.line2.myFault.Y.re,line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.5275, allocations: 160.6 kB / 0.5431 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.5276, allocations: 43.53 kB / 0.5432 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.5307, allocations: 1.083 MB / 0.5442 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.5307, allocations: 8 kB / 0.5442 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5307, allocations: 4 kB / 0.5442 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5307, allocations: 3.984 kB / 0.5442 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.5316, allocations: 0.6051 MB / 0.5448 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5316, allocations: 0 / 0.5448 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5318, allocations: 51.91 kB / 0.5449 GB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.534, allocations: 490.1 kB / 0.5453 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.5341, allocations: 7.938 kB / 0.5454 GB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/0.5399, allocations: 3.315 MB / 0.5486 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5399, allocations: 0 / 0.5486 GB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003191/0.5431, allocations: 1.051 MB / 0.5496 GB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.5434, allocations: 120.6 kB / 0.5497 GB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5435, allocations: 7.938 kB / 0.5497 GB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.5439, allocations: 27.89 kB / 0.5498 GB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5441, allocations: 28.33 kB / 0.5498 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.5442, allocations: 16 kB / 0.5498 GB, free: 4.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003318/0.5445, allocations: 211.1 kB / 0.55 GB, free: 4.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008339/0.5453, allocations: 147.8 kB / 0.5501 GB, free: 3.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/0.5457, allocations: 124.3 kB / 0.5503 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.5475, allocations: 0.7841 MB / 0.551 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5475, allocations: 0 / 0.551 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.5488, allocations: 0.5676 MB / 0.5516 GB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5491, allocations: 26.19 kB / 0.5516 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.5508, allocations: 0.5354 MB / 0.5521 GB, free: 1.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.5515, allocations: 0.8431 MB / 0.553 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5515, allocations: 0 / 0.553 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of Templates: time 0.01773/0.5692, allocations: 9.666 MB / 0.5624 GB, free: 7.371 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1)