Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08224/0.08224, allocations: 12.6 MB / 28.9 MB, free: 0.75 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 115.5 kB / 32.51 MB, free: 3.68 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6147/0.6147, allocations: 78.51 MB / 420 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 138.9 kB / 0.5565 GB, free: 28.54 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1101, allocations: 68.12 MB / 0.623 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.005734/0.1159, allocations: 5.294 MB / 0.6282 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1189, allocations: 1.732 MB / 0.6299 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.1193, allocations: 8 kB / 0.6299 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1197, allocations: 162.6 kB / 0.6301 GB, free: 8.242 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001491/0.1212, allocations: 0.676 MB / 0.6307 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.1222, allocations: 0.4988 MB / 0.6312 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.1232, allocations: 1.203 MB / 0.6324 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.1236, allocations: 254.3 kB / 0.6326 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.1241, allocations: 486.2 kB / 0.6331 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.1247, allocations: 0.5991 MB / 0.6337 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.1248, allocations: 112 kB / 0.6338 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.1252, allocations: 255.8 kB / 0.634 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.1255, allocations: 255 kB / 0.6343 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.1259, allocations: 0.5129 MB / 0.6348 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1271, allocations: 1.417 MB / 0.6362 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1271, allocations: 3.938 kB / 0.6362 GB, free: 1.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1271, allocations: 0 / 0.6362 GB, free: 1.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1272, allocations: 0 / 0.6362 GB, free: 1.969 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005488/0.1326, allocations: 1.847 MB / 0.638 GB, free: 72 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1327, allocations: 11.98 kB / 0.638 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/0.1361, allocations: 0.5265 MB / 0.6385 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009215/0.1371, allocations: 0.6936 MB / 0.6392 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.1373, allocations: 138.4 kB / 0.6393 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1374, allocations: 60 kB / 0.6394 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.139, allocations: 0.7875 MB / 0.6401 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.139, allocations: 0 / 0.6401 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.117e-05/0.1391, allocations: 20 kB / 0.6401 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.1391, allocations: 16 kB / 0.6402 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.1405, allocations: 0.6883 MB / 0.6408 GB, free: 13.06 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.1453, allocations: 2.89 MB / 0.6437 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.1586, allocations: 2.926 MB / 0.6465 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.1597, allocations: 490.3 kB / 0.647 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.1597, allocations: 16.53 kB / 0.647 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1598, allocations: 39.12 kB / 0.647 GB, free: 6.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=64): time 2.925e-06/0.1598, allocations: 0 / 0.647 GB, free: 6.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.01149/0.1713, allocations: 3.301 MB / 0.6503 GB, free: 3.145 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1714, allocations: 81.67 kB / 0.6503 GB, free: 3.047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1724, allocations: 0.7937 MB / 0.6511 GB, free: 2.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/0.1725, allocations: 37.7 kB / 0.6511 GB, free: 2.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.1728, allocations: 368.6 kB / 0.6515 GB, free: 1.836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.173, allocations: 248.5 kB / 0.6517 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.1734, allocations: 178.5 kB / 0.6519 GB, free: 1.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1735, allocations: 349.9 kB / 0.6522 GB, free: 1.062 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.1747, allocations: 0.5514 MB / 0.6528 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.1759, allocations: 0.6587 MB / 0.6534 GB, free: 15.81 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.1945, allocations: 4.025 MB / 0.6573 GB, free: 11.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1946, allocations: 0 / 0.6573 GB, free: 11.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007976/0.2026, allocations: 2.505 MB / 0.6598 GB, free: 9.246 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2026, allocations: 4 kB / 0.6598 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2026, allocations: 7.938 kB / 0.6598 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004415/0.207, allocations: 1.047 MB / 0.6608 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.2079, allocations: 171.8 kB / 0.661 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.2192, allocations: 5.075 MB / 0.6659 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.2206, allocations: 115.2 kB / 0.6661 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.2207, allocations: 36 kB / 0.6661 GB, free: 2.637 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00159/0.2223, allocations: 0.7025 MB / 0.6668 GB, free: 1.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00122/0.2236, allocations: 0.6469 MB / 0.6674 GB, free: 1.258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01859/0.2422, allocations: 3.99 MB / 0.6713 GB, free: 13.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.2422, allocations: 0 / 0.6713 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007903/0.2501, allocations: 2.485 MB / 0.6737 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2502, allocations: 8 kB / 0.6737 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2502, allocations: 0 / 0.6737 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/0.2546, allocations: 1.05 MB / 0.6748 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.2555, allocations: 167.8 kB / 0.6749 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.2668, allocations: 5.072 MB / 0.6799 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.2681, allocations: 107.3 kB / 0.68 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2683, allocations: 35.98 kB / 0.68 GB, free: 4.145 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003567/0.2686, allocations: 244.2 kB / 0.6803 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.2688, allocations: 86.88 kB / 0.6803 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006661/0.2755, allocations: 2.032 MB / 0.6823 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.2755, allocations: 3.984 kB / 0.6823 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2755, allocations: 0 / 0.6823 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.2758, allocations: 179.9 kB / 0.6825 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.2759, allocations: 19.98 kB / 0.6825 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/0.2768, allocations: 59.94 kB / 0.6826 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/0.2772, allocations: 180.3 kB / 0.6827 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005093/0.2823, allocations: 1.492 MB / 0.6842 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003209/0.2855, allocations: 1.6 MB / 0.6858 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009257/0.2865, allocations: 408.3 kB / 0.6861 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006784/0.2872, allocations: 0.5342 MB / 0.6867 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of Backend: time 6.82e-07/0.2872, allocations: 0 / 0.6867 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008258/0.2954, allocations: 2.998 MB / 0.6896 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002617/0.2981, allocations: 2.194 MB / 0.6917 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of Templates: time 0.03582/0.3339, allocations: 23.86 MB / 0.715 GB, free: 24 kB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)