Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002382/0.002382, allocations: 353.8 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.425/3.425, allocations: 388.9 MB / 406.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003402/0.003402, allocations: 231.8 kB / 451.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6481/0.6481, allocations: 76 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 16 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.068/0.06849, allocations: 53.24 MB / 0.6736 GB, free: 60.94 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.008845/0.07738, allocations: 9.821 MB / 0.6832 GB, free: 51.08 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.08253, allocations: 3.5 MB / 0.6866 GB, free: 47.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005344/0.08309, allocations: 71.5 kB / 0.6867 GB, free: 47.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.08369, allocations: 286 kB / 0.687 GB, free: 47.21 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.001513/0.08522, allocations: 0.781 MB / 0.6877 GB, free: 46.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.0869, allocations: 0.6937 MB / 0.6884 GB, free: 45.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.0884, allocations: 1.933 MB / 0.6903 GB, free: 43.8 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.09052, allocations: 1.332 MB / 0.6916 GB, free: 42.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.09113, allocations: 0.5716 MB / 0.6922 GB, free: 41.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.09215, allocations: 0.9076 MB / 0.693 GB, free: 40.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.0923, allocations: 52 kB / 0.6931 GB, free: 40.88 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006043/0.09291, allocations: 319.3 kB / 0.6934 GB, free: 40.56 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.09342, allocations: 0.6118 MB / 0.694 GB, free: 39.95 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.09369, allocations: 265 kB / 0.6942 GB, free: 39.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.0948, allocations: 1.317 MB / 0.6955 GB, free: 38.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.852e-06/0.09482, allocations: 0 / 0.6955 GB, free: 38.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.666e-06/0.09483, allocations: 0 / 0.6955 GB, free: 38.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.09486, allocations: 3.938 kB / 0.6955 GB, free: 38.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002518/0.09739, allocations: 1.409 MB / 0.6969 GB, free: 36.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.09743, allocations: 12.03 kB / 0.6969 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.09934, allocations: 294 kB / 0.6972 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.1008, allocations: 0.816 MB / 0.698 GB, free: 35.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.1009, allocations: 90.33 kB / 0.6981 GB, free: 35.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.1012, allocations: 155.8 kB / 0.6982 GB, free: 35.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.1039, allocations: 1.839 MB / 0.7 GB, free: 33.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.1039, allocations: 7.938 kB / 0.7 GB, free: 33.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.1041, allocations: 51.98 kB / 0.7001 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000284/0.1044, allocations: 98.16 kB / 0.7002 GB, free: 33.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.107, allocations: 1.468 MB / 0.7016 GB, free: 31.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008487/0.1155, allocations: 8.3 MB / 0.7097 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1168, allocations: 1.155 MB / 0.7108 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/0.1176, allocations: 484.2 kB / 0.7113 GB, free: 21.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.1177, allocations: 16.64 kB / 0.7113 GB, free: 21.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1177, allocations: 43.2 kB / 0.7114 GB, free: 21.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 3.876e-06/0.1177, allocations: 0 / 0.7114 GB, free: 21.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=83): time 0.004116/0.1219, allocations: 2.386 MB / 0.7137 GB, free: 18.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.1219, allocations: 93.8 kB / 0.7138 GB, free: 18.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009468/0.1229, allocations: 0.8173 MB / 0.7146 GB, free: 17.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.1229, allocations: 37.7 kB / 0.7146 GB, free: 17.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.1233, allocations: 0.6764 MB / 0.7153 GB, free: 17.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.1235, allocations: 315.7 kB / 0.7156 GB, free: 16.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1236, allocations: 24 kB / 0.7156 GB, free: 16.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1237, allocations: 414.7 kB / 0.716 GB, free: 16.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.1245, allocations: 435.7 kB / 0.7164 GB, free: 16.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1256, allocations: 0.9929 MB / 0.7174 GB, free: 14.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1266, allocations: 0.6274 MB / 0.718 GB, free: 14.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.1267, allocations: 15.95 kB / 0.718 GB, free: 14.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003296/0.13, allocations: 1.741 MB / 0.7197 GB, free: 12.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.13, allocations: 15.95 kB / 0.7197 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001938/0.132, allocations: 0.9649 MB / 0.7207 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009988/0.133, allocations: 250.3 kB / 0.7209 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.1343, allocations: 319.4 kB / 0.7212 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00427/0.1385, allocations: 4.783 MB / 0.7259 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.1394, allocations: 59.98 kB / 0.7259 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.1395, allocations: 64 kB / 0.726 GB, free: 5.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005594/0.1401, allocations: 436.8 kB / 0.7264 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.1402, allocations: 98.78 kB / 0.7265 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.1419, allocations: 0.9414 MB / 0.7274 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.229e-06/0.1419, allocations: 8 kB / 0.7274 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-06/0.1419, allocations: 0 / 0.7274 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1419, allocations: 3.984 kB / 0.7274 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.1459, allocations: 2.115 MB / 0.7295 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-06/0.146, allocations: 0 / 0.7295 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.1472, allocations: 183.8 kB / 0.7297 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.1472, allocations: 11.95 kB / 0.7297 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.247e-05/0.1473, allocations: 23.98 kB / 0.7297 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.001e-06/0.1473, allocations: 7.938 kB / 0.7297 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1473, allocations: 4 kB / 0.7297 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.1493, allocations: 1.366 MB / 0.7311 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.1495, allocations: 167.9 kB / 0.7312 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.1497, allocations: 27.94 kB / 0.7312 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/0.1502, allocations: 31.97 kB / 0.7313 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2338/0.384, allocations: 40.92 kB / 0.7313 GB, free: 126.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.3841, allocations: 23.05 kB / 0.7313 GB, free: 126.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009035/0.3851, allocations: 0.5373 MB / 0.7319 GB, free: 126.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3851, allocations: 0 / 0.7319 GB, free: 126.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001378/0.3865, allocations: 293.3 kB / 0.7321 GB, free: 126.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.3866, allocations: 131.7 kB / 0.7323 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002592/0.3892, allocations: 1.439 MB / 0.7337 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.451e-06/0.3893, allocations: 0 / 0.7337 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.3901, allocations: 401.1 kB / 0.7341 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.3911, allocations: 174.5 kB / 0.7342 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.3958, allocations: 3.3 MB / 0.7374 GB, free: 124.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.3968, allocations: 1.271 MB / 0.7387 GB, free: 123.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001471/0.3983, allocations: 417.6 kB / 0.7391 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.3986, allocations: 80.72 kB / 0.7392 GB, free: 123.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.929e-06/0.3986, allocations: 0 / 0.7392 GB, free: 123.7 MB / 442.7 MB Notification: Performance of Templates: time 0.02488/0.4235, allocations: 9.84 MB / 0.7488 GB, free: 123.3 MB / 442.7 MB