Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 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(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 97.52 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 177.8 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06397/0.06397, allocations: 14.17 MB / 285.2 MB, free: 7.141 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.0005304/0.0005305, allocations: 20 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1077, allocations: 51.11 MB / 397.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004821/0.1125, allocations: 3.577 MB / 401.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.1165, allocations: 2.223 MB / 403.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.1171, allocations: 12 kB / 403.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.118, allocations: 187 kB / 403.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.1209, allocations: 0.9521 MB / 404.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.1215, allocations: 203.4 kB / 405 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1231, allocations: 0.6823 MB / 405.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1233, allocations: 65.88 kB / 405.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005406/0.1239, allocations: 271 kB / 406 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003912/0.1243, allocations: 247 kB / 406.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1243, allocations: 16 kB / 406.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.1249, allocations: 223.7 kB / 406.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.125, allocations: 47.7 kB / 406.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1252, allocations: 121.5 kB / 406.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.1258, allocations: 0.5418 MB / 407.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1258, allocations: 4 kB / 407.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1258, allocations: 0 / 407.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1259, allocations: 0 / 407.2 MB, free: 7.375 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002313/0.1282, allocations: 0.9002 MB / 408.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1282, allocations: 11.97 kB / 408.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.1286, allocations: 79.31 kB / 408.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007374/0.1293, allocations: 403.5 kB / 408.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.1294, allocations: 28.95 kB / 408.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.1294, allocations: 40 kB / 408.7 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.13, allocations: 379 kB / 409 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1301, allocations: 3.938 kB / 409.1 MB, free: 5.441 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1301, allocations: 16 kB / 409.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1301, allocations: 8 kB / 409.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.1307, allocations: 351.8 kB / 409.4 MB, free: 5.074 MB / 302.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.002483/0.1332, allocations: 2.193 MB / 411.6 MB, free: 2.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.1341, allocations: 0.5564 MB / 412.2 MB, free: 1.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.1342, allocations: 7.984 kB / 412.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1342, allocations: 34.56 kB / 412.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 3.296e-06/0.1342, allocations: 5.094 kB / 412.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.002223/0.1365, allocations: 0.8155 MB / 413 MB, free: 1.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1365, allocations: 55.41 kB / 413.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.1369, allocations: 309.7 kB / 413.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1369, allocations: 29.7 kB / 413.4 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1371, allocations: 200.7 kB / 413.6 MB, free: 480 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1372, allocations: 145.9 kB / 413.8 MB, free: 332 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.1372, allocations: 7.938 kB / 413.8 MB, free: 324 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.1375, allocations: 350.8 kB / 414.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1377, allocations: 104 kB / 414.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.1379, allocations: 134.8 kB / 414.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1381, allocations: 128.5 kB / 414.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1381, allocations: 0 / 414.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009877/0.1391, allocations: 481.2 kB / 414.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1391, allocations: 8 kB / 414.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1392, allocations: 0 / 414.9 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/0.1399, allocations: 160.7 kB / 415.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.1403, allocations: 75.95 kB / 415.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.1433, allocations: 2.095 MB / 417.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1436, allocations: 27.75 kB / 417.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1437, allocations: 15.98 kB / 417.3 MB, free: 12.62 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.1439, allocations: 165.8 kB / 417.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.144, allocations: 43.47 kB / 417.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.1454, allocations: 0.5067 MB / 418 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1454, allocations: 11.94 kB / 418 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1454, allocations: 4 kB / 418 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1454, allocations: 3.953 kB / 418 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.1474, allocations: 1.134 MB / 419.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1475, allocations: 0 / 419.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.1478, allocations: 79.89 kB / 419.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/0.1485, allocations: 152.7 kB / 419.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1485, allocations: 11.98 kB / 419.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.1511, allocations: 2.039 MB / 421.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1511, allocations: 0 / 421.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.1528, allocations: 1.345 MB / 422.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.153, allocations: 144.6 kB / 422.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.1531, allocations: 8.094 kB / 422.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.1534, allocations: 35.78 kB / 423 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.1535, allocations: 27.95 kB / 423 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.1535, allocations: 8 kB / 423 MB, free: 6.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002412/0.1538, allocations: 227.2 kB / 423.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1538, allocations: 0 / 423.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007314/0.1545, allocations: 151.8 kB / 423.4 MB, free: 6.215 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.1548, allocations: 151.2 kB / 423.5 MB, free: 6.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1559, allocations: 0.491 MB / 424 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1559, allocations: 0 / 424 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.1566, allocations: 382.2 kB / 424.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1569, allocations: 57.17 kB / 424.5 MB, free: 5.113 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1586, allocations: 1.136 MB / 425.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.1592, allocations: 0.8362 MB / 426.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.1594, allocations: 47.3 kB / 426.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.1595, allocations: 31.42 kB / 426.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1595, allocations: 0 / 426.5 MB, free: 3.008 MB / 318.1 MB Notification: Performance of Templates: time 0.2011/0.3606, allocations: 5.504 MB / 432 MB, free: 36.13 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) Environment - environmentSimulation: