Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07907/0.07907, allocations: 12.6 MB / 28.91 MB, free: 0.6211 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.001069/0.001069, allocations: 111.5 kB / 32.51 MB, free: 3.562 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.367/1.367, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.00126/0.00126, allocations: 191.3 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4442/0.4442, allocations: 78.51 MB / 420 MB, free: 11.25 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.002715/0.002715, allocations: 135.4 kB / 0.5565 GB, free: 28.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1114, allocations: 68.13 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.00604/0.1175, allocations: 5.287 MB / 0.6282 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.121, allocations: 1.724 MB / 0.6299 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.1215, allocations: 8 kB / 0.6299 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.122, allocations: 170.5 kB / 0.6301 GB, free: 8.234 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 twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001644/0.1236, allocations: 0.6915 MB / 0.6307 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.1246, allocations: 0.4985 MB / 0.6312 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1258, allocations: 1.203 MB / 0.6324 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.1262, allocations: 254.3 kB / 0.6326 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.1268, allocations: 486.2 kB / 0.6331 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.1275, allocations: 0.6068 MB / 0.6337 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.1276, allocations: 112 kB / 0.6338 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004452/0.1281, allocations: 255.9 kB / 0.634 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.1283, allocations: 251.1 kB / 0.6343 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004485/0.1288, allocations: 0.509 MB / 0.6348 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1301, allocations: 1.437 MB / 0.6362 GB, free: 1.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1302, allocations: 3.984 kB / 0.6362 GB, free: 1.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1302, allocations: 4 kB / 0.6362 GB, free: 1.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1302, allocations: 0 / 0.6362 GB, free: 1.922 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.005734/0.1359, allocations: 1.846 MB / 0.638 GB, free: 24 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.136, allocations: 15.98 kB / 0.638 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.1396, allocations: 0.5267 MB / 0.6385 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1407, allocations: 0.6936 MB / 0.6392 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.1409, allocations: 146.4 kB / 0.6393 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.141, allocations: 60 kB / 0.6394 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1426, allocations: 0.7837 MB / 0.6402 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1427, allocations: 3.938 kB / 0.6402 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.1427, allocations: 20 kB / 0.6402 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1428, allocations: 12 kB / 0.6402 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1442, allocations: 0.6883 MB / 0.6409 GB, free: 13 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.005029/0.1492, allocations: 2.901 MB / 0.6437 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.1629, allocations: 2.949 MB / 0.6466 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.164, allocations: 0.4898 MB / 0.6471 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.1641, allocations: 8.547 kB / 0.6471 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1641, allocations: 43.12 kB / 0.6471 GB, free: 6.422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=64): time 2.845e-06/0.1641, allocations: 0 / 0.6471 GB, free: 6.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=64): time 0.01378/0.1779, allocations: 3.668 MB / 0.6507 GB, free: 2.676 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.178, allocations: 81.67 kB / 0.6508 GB, free: 2.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.1792, allocations: 0.7937 MB / 0.6515 GB, free: 1.777 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.1793, allocations: 41.7 kB / 0.6516 GB, free: 1.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.1796, allocations: 372.5 kB / 0.6519 GB, free: 1.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.1799, allocations: 236.6 kB / 0.6522 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/0.1803, allocations: 186.5 kB / 0.6523 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1805, allocations: 349.9 kB / 0.6527 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1816, allocations: 0.5475 MB / 0.6532 GB, free: 40 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.1829, allocations: 0.6577 MB / 0.6539 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01904/0.202, allocations: 4.017 MB / 0.6578 GB, free: 11.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.202, allocations: 4 kB / 0.6578 GB, free: 11.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007986/0.21, allocations: 2.516 MB / 0.6602 GB, free: 8.777 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2101, allocations: 6.969 kB / 0.6602 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.2101, allocations: 4 kB / 0.6602 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/0.2145, allocations: 1.033 MB / 0.6613 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009479/0.2155, allocations: 167.8 kB / 0.6614 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2269, allocations: 5.085 MB / 0.6664 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.2283, allocations: 115.2 kB / 0.6665 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.2284, allocations: 35.98 kB / 0.6665 GB, free: 2.184 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001569/0.23, allocations: 0.7018 MB / 0.6672 GB, free: 1.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001221/0.2312, allocations: 0.6382 MB / 0.6678 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01919/0.2504, allocations: 3.986 MB / 0.6717 GB, free: 12.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.745e-06/0.2505, allocations: 4 kB / 0.6717 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.008207/0.2587, allocations: 2.489 MB / 0.6742 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.2587, allocations: 8 kB / 0.6742 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2588, allocations: 0 / 0.6742 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/0.2633, allocations: 1.05 MB / 0.6752 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/0.2642, allocations: 163.7 kB / 0.6754 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.2755, allocations: 5.068 MB / 0.6803 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.2768, allocations: 107.3 kB / 0.6804 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.277, allocations: 39.92 kB / 0.6804 GB, free: 3.711 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003608/0.2774, allocations: 233.5 kB / 0.6807 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.2776, allocations: 90.88 kB / 0.6808 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006698/0.2843, allocations: 2.036 MB / 0.6827 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.2843, allocations: 3.984 kB / 0.6827 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2844, allocations: 0 / 0.6827 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2846, allocations: 183.9 kB / 0.6829 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.2848, allocations: 12 kB / 0.6829 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.2857, allocations: 63.92 kB / 0.683 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004325/0.2861, allocations: 180.3 kB / 0.6832 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005147/0.2912, allocations: 1.504 MB / 0.6846 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00322/0.2945, allocations: 1.596 MB / 0.6862 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009083/0.2954, allocations: 408.3 kB / 0.6866 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007303/0.2961, allocations: 0.5303 MB / 0.6871 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of Backend: time 2.114e-06/0.2962, allocations: 3.938 kB / 0.6871 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008405/0.3046, allocations: 2.997 MB / 0.69 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002731/0.3073, allocations: 2.186 MB / 0.6922 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of Templates: time 0.2752/0.5825, allocations: 24 MB / 0.7156 GB, free: 87.62 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)