Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008402, allocations: 88.17 kB / 15.71 MB, free: 452 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.0009193/0.0009193, allocations: 177.2 kB / 16.59 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.771/1.771, allocations: 205.4 MB / 222.8 MB, free: 5.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0708/0.0708, allocations: 14.18 MB / 285.2 MB, free: 7.09 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.0005103/0.0005104, allocations: 12 kB / 346.9 MB, free: 19.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 51.13 MB / 398 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.006999/0.121, allocations: 6.565 MB / 404.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005771/0.1268, allocations: 3.26 MB / 407.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009997/0.1279, allocations: 19.88 kB / 407.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.129, allocations: 310.4 kB / 408.2 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003632/0.1326, allocations: 1.251 MB / 409.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.1336, allocations: 482.1 kB / 409.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.1362, allocations: 1.762 MB / 411.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1365, allocations: 110.4 kB / 411.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.1372, allocations: 485.6 kB / 412.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.1379, allocations: 0.5056 MB / 412.8 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.138, allocations: 24 kB / 412.8 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009774/0.139, allocations: 351.7 kB / 413.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1391, allocations: 111.3 kB / 413.2 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1393, allocations: 213.2 kB / 413.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1404, allocations: 1.013 MB / 414.5 MB, free: 132 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1404, allocations: 4 kB / 414.5 MB, free: 128 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1404, allocations: 4 kB / 414.5 MB, free: 124 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1404, allocations: 0 / 414.5 MB, free: 124 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004381/0.1448, allocations: 1.52 MB / 416 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1449, allocations: 12.02 kB / 416 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.145, allocations: 118.6 kB / 416.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/0.1456, allocations: 150.7 kB / 416.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1467, allocations: 0.6326 MB / 416.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.1467, allocations: 54 kB / 416.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.1469, allocations: 72 kB / 417 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.148, allocations: 0.7465 MB / 417.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1481, allocations: 3.938 kB / 417.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.1481, allocations: 28 kB / 417.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1482, allocations: 20 kB / 417.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1493, allocations: 0.7261 MB / 418.5 MB, free: 11.92 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.004815/0.1541, allocations: 4.409 MB / 422.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.156, allocations: 1.166 MB / 424.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.1565, allocations: 315.7 kB / 424.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.1566, allocations: 8.656 kB / 424.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1566, allocations: 47.22 kB / 424.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/0.1566, allocations: 0 / 424.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002905/0.1596, allocations: 1.256 MB / 425.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1596, allocations: 64 kB / 425.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.1602, allocations: 483 kB / 426.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.1602, allocations: 37.7 kB / 426.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.1605, allocations: 360 kB / 426.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.1607, allocations: 283.8 kB / 426.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1608, allocations: 16 kB / 426.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.161, allocations: 374.7 kB / 427.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.1614, allocations: 221.9 kB / 427.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.1618, allocations: 308.9 kB / 427.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.1623, allocations: 278.9 kB / 428.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1623, allocations: 0 / 428.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001428/0.1637, allocations: 0.8411 MB / 428.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1638, allocations: 4 kB / 428.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1638, allocations: 4 kB / 428.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.1644, allocations: 188.2 kB / 429.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.1651, allocations: 195.8 kB / 429.3 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2155/0.3807, allocations: 2.309 MB / 431.6 MB, free: 35.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.3813, allocations: 54.64 kB / 431.7 MB, free: 35.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.3814, allocations: 25.44 kB / 431.7 MB, free: 35.17 MB / 318.1 MB 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 (83): * Single equations (assignments): 82 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003796/0.3818, allocations: 226.2 kB / 431.9 MB, free: 35.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.3819, allocations: 76.7 kB / 432 MB, free: 35.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3835, allocations: 0.8272 MB / 432.8 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3836, allocations: 8.875 kB / 432.8 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3836, allocations: 3.094 kB / 432.8 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.3836, allocations: 5.188 kB / 432.8 MB, free: 34.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.3863, allocations: 1.885 MB / 434.7 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3864, allocations: 0 / 434.7 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.387, allocations: 168 kB / 434.9 MB, free: 34.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.3875, allocations: 176.7 kB / 435.1 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.3876, allocations: 12.2 kB / 435.1 MB, free: 33.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.3901, allocations: 2.321 MB / 437.4 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3901, allocations: 0 / 437.4 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3921, allocations: 1.833 MB / 439.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3924, allocations: 203.1 kB / 439.4 MB, free: 30.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.3924, allocations: 12.06 kB / 439.4 MB, free: 30.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.3928, allocations: 39.44 kB / 439.5 MB, free: 30.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.3929, allocations: 48.89 kB / 439.5 MB, free: 30.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.393, allocations: 25.88 kB / 439.6 MB, free: 30.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004408/0.3934, allocations: 332.6 kB / 439.9 MB, free: 30.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3934, allocations: 0 / 439.9 MB, free: 30.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3945, allocations: 286.5 kB / 440.2 MB, free: 30.53 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 (67): * Single equations (assignments): 66 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/0.3963, allocations: 1.491 MB / 441.7 MB, free: 29.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.3977, allocations: 0.8182 MB / 442.5 MB, free: 29.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3977, allocations: 0 / 442.5 MB, free: 29.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.3985, allocations: 0.5362 MB / 443 MB, free: 28.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.3991, allocations: 91.83 kB / 443.1 MB, free: 28.82 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.0067/0.4058, allocations: 4.352 MB / 447.4 MB, free: 26.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.4064, allocations: 0.9553 MB / 448.4 MB, free: 25.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000473/0.4069, allocations: 90.45 kB / 448.5 MB, free: 25.67 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.4072, allocations: 271.4 kB / 448.8 MB, free: 25.46 MB / 318.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4072, allocations: 0 / 448.8 MB, free: 25.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.4344, allocations: 14.17 MB / 462.9 MB, free: 16.43 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.4347, allocations: 235.8 kB / 463.2 MB, free: 16.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/2.884, allocations: 0 / 463.2 MB, free: 16.18 MB / 318.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: