Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06162/0.06162, allocations: 14.16 MB / 284.5 MB, free: 7.137 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.0005126/0.0005127, allocations: 12 kB / 346.1 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.0851, allocations: 51.12 MB / 397.2 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.005484/0.09062, allocations: 5.884 MB / 403.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.09513, allocations: 3.198 MB / 406.3 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.09564, allocations: 15.94 kB / 406.3 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.0964, allocations: 302.4 kB / 406.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.09938, allocations: 1.337 MB / 408 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.1003, allocations: 477.9 kB / 408.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.1023, allocations: 1.306 MB / 409.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.1026, allocations: 114.4 kB / 409.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.1033, allocations: 0.4903 MB / 410.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.1038, allocations: 490.2 kB / 410.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.934e-05/0.1039, allocations: 24 kB / 410.9 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.1046, allocations: 339.6 kB / 411.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1047, allocations: 107.4 kB / 411.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1049, allocations: 201.3 kB / 411.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.106, allocations: 0.9743 MB / 412.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.106, allocations: 0 / 412.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.106, allocations: 0 / 412.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.106, allocations: 0 / 412.5 MB, free: 1.484 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004526/0.1105, allocations: 1.469 MB / 413.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1106, allocations: 16.02 kB / 413.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.1113, allocations: 150.8 kB / 414.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.1125, allocations: 0.6171 MB / 414.7 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1125, allocations: 54 kB / 414.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.201e-05/0.1126, allocations: 68 kB / 414.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1137, allocations: 0.7436 MB / 415.6 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1137, allocations: 4 kB / 415.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.1138, allocations: 24 kB / 415.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1138, allocations: 23.94 kB / 415.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1149, allocations: 0.6713 MB / 416.3 MB, free: 13.52 MB / 318.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.00472/0.1196, allocations: 4.801 MB / 421.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1212, allocations: 0.9399 MB / 422 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.1213, allocations: 12.64 kB / 422 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.1213, allocations: 55.14 kB / 422.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.695e-06/0.1214, allocations: 0 / 422.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004412/0.1258, allocations: 1.526 MB / 423.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1258, allocations: 60.06 kB / 423.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.1264, allocations: 0.4912 MB / 424.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.1264, allocations: 37.7 kB / 424.2 MB, free: 4.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1266, allocations: 359.9 kB / 424.6 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.1268, allocations: 272 kB / 424.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1269, allocations: 16 kB / 424.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.127, allocations: 378.7 kB / 425.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.1274, allocations: 205.9 kB / 425.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.1278, allocations: 330 kB / 425.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.1282, allocations: 262.9 kB / 426 MB, free: 3.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1282, allocations: 0 / 426 MB, free: 3.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001748/0.13, allocations: 0.935 MB / 426.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.13, allocations: 8 kB / 426.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.13, allocations: 4 kB / 426.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.1311, allocations: 295.5 kB / 427.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.1318, allocations: 163.8 kB / 427.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1552/0.287, allocations: 3.117 MB / 430.5 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.2877, allocations: 49.16 kB / 430.6 MB, free: 24.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.2878, allocations: 26.7 kB / 430.6 MB, free: 24.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.2881, allocations: 222.4 kB / 430.8 MB, free: 24.56 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2882, allocations: 81.58 kB / 430.9 MB, free: 24.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.2899, allocations: 0.8767 MB / 431.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2899, allocations: 8.375 kB / 431.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2899, allocations: 0 / 431.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2899, allocations: 3.422 kB / 431.8 MB, free: 24.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.2927, allocations: 1.793 MB / 433.6 MB, free: 24.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2927, allocations: 1.5 kB / 433.6 MB, free: 24.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.2932, allocations: 134.8 kB / 433.7 MB, free: 24.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009976/0.2942, allocations: 292.3 kB / 434 MB, free: 24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.2943, allocations: 10.97 kB / 434 MB, free: 24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00383/0.2981, allocations: 3.058 MB / 437 MB, free: 22.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2981, allocations: 0 / 437 MB, free: 22.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.2998, allocations: 0.9278 MB / 438 MB, free: 22.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.3, allocations: 204.9 kB / 438.2 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.3001, allocations: 17.45 kB / 438.2 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.3006, allocations: 31.05 kB / 438.2 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.3007, allocations: 53.06 kB / 438.3 MB, free: 22.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.3007, allocations: 17.94 kB / 438.3 MB, free: 22.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.3011, allocations: 344.8 kB / 438.6 MB, free: 22.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3011, allocations: 0 / 438.6 MB, free: 22.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009047/0.302, allocations: 294.5 kB / 438.9 MB, free: 22.25 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 (51): * Single equations (assignments): 50 * 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 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002467/0.3023, allocations: 172.8 kB / 439.1 MB, free: 22.16 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 initialization part: time 0.001549/0.3038, allocations: 0.8504 MB / 439.9 MB, free: 22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3038, allocations: 0 / 439.9 MB, free: 22 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 simulation system equations: time 0.0009562/0.3048, allocations: 0.5674 MB / 440.5 MB, free: 21.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3052, allocations: 76.36 kB / 440.6 MB, free: 21.85 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.001992/0.3072, allocations: 1.466 MB / 442 MB, free: 21.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.3077, allocations: 0.9582 MB / 443 MB, free: 20.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.3081, allocations: 77.77 kB / 443.1 MB, free: 20.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3082, allocations: 48.8 kB / 443.1 MB, free: 20.33 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3082, allocations: 0 / 443.1 MB, free: 20.33 MB / 318.1 MB Notification: Performance of Templates: time 0.01522/0.3234, allocations: 9.588 MB / 452.7 MB, free: 17.41 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) Environment - environmentSimulation: