Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.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.LoadImpedancePQ,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ",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.0008399/0.0008399, 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.001274/0.001274, allocations: 177.8 kB / 16.59 MB, free: 6.859 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.774/1.774, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06148/0.06148, allocations: 14.17 MB / 285.2 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.0008119/0.000812, allocations: 12 kB / 346.9 MB, free: 19.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1395, allocations: 51.13 MB / 398 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01066/0.1502, allocations: 9.146 MB / 407.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008675/0.1589, allocations: 4.117 MB / 411.3 MB, free: 3.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1608, allocations: 27.88 kB / 411.3 MB, free: 3.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.1629, allocations: 409.8 kB / 411.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.1696, allocations: 1.57 MB / 413.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1708, allocations: 317.9 kB / 413.6 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.1763, allocations: 2.75 MB / 416.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/0.177, allocations: 171.4 kB / 416.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.179, allocations: 0.727 MB / 417.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1803, allocations: 0.7506 MB / 418 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.1804, allocations: 36 kB / 418 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1816, allocations: 339.7 kB / 418.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1818, allocations: 162.9 kB / 418.5 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005782/0.1824, allocations: 308.9 kB / 418.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.1844, allocations: 1.399 MB / 420.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1845, allocations: 0 / 420.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1845, allocations: 0 / 420.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.1845, allocations: 4 kB / 420.2 MB, free: 10.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009357/0.1939, allocations: 2.377 MB / 422.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.194, allocations: 12.02 kB / 422.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003957/0.1944, allocations: 160.7 kB / 422.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/0.1953, allocations: 222.1 kB / 423 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.197, allocations: 0.8822 MB / 423.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.1971, allocations: 78.12 kB / 423.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1972, allocations: 104 kB / 424.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.1993, allocations: 1.085 MB / 425.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1993, allocations: 0 / 425.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1994, allocations: 44 kB / 425.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.1995, allocations: 24 kB / 425.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.2014, allocations: 1.062 MB / 426.3 MB, free: 4.129 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.3187/0.5201, allocations: 6.299 MB / 432.6 MB, free: 33.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.5232, allocations: 1.491 MB / 434.1 MB, free: 32.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/0.524, allocations: 420.1 kB / 434.5 MB, free: 32.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.5241, allocations: 18.97 kB / 434.5 MB, free: 32.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.5241, allocations: 48.97 kB / 434.5 MB, free: 32.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 3.627e-06/0.5242, allocations: 3.562 kB / 434.5 MB, free: 32.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=116): time 0.003929/0.5281, allocations: 1.711 MB / 436.2 MB, free: 32.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.5282, allocations: 119 kB / 436.4 MB, free: 32.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5293, allocations: 0.6985 MB / 437.1 MB, free: 31.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.5294, allocations: 45.83 kB / 437.1 MB, free: 31.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.5299, allocations: 498.3 kB / 437.6 MB, free: 31.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.5303, allocations: 406.2 kB / 438 MB, free: 31.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.5304, allocations: 20.53 kB / 438 MB, free: 31.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5305, allocations: 349 kB / 438.3 MB, free: 30.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.5312, allocations: 325.5 kB / 438.7 MB, free: 30.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.532, allocations: 498.4 kB / 439.2 MB, free: 30.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000756/0.5328, allocations: 402.8 kB / 439.5 MB, free: 30.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.5328, allocations: 3.938 kB / 439.6 MB, free: 30.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002561/0.5354, allocations: 1.185 MB / 440.7 MB, free: 29.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.5354, allocations: 8.266 kB / 440.7 MB, free: 29.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.5355, allocations: 2.75 kB / 440.7 MB, free: 29.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/0.5362, allocations: 169.1 kB / 440.9 MB, free: 29.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.5378, allocations: 325.3 kB / 441.2 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.5425, allocations: 4.441 MB / 445.7 MB, free: 25.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5439, allocations: 86.98 kB / 445.8 MB, free: 25.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.544, allocations: 41.73 kB / 445.8 MB, free: 25.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * 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 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007682/0.5448, allocations: 285.1 kB / 446.1 MB, free: 25.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.5452, allocations: 112.5 kB / 446.2 MB, free: 25.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.5479, allocations: 1.166 MB / 447.3 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5479, allocations: 14.91 kB / 447.4 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.548, allocations: 3.312 kB / 447.4 MB, free: 24.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.548, allocations: 6.609 kB / 447.4 MB, free: 24.57 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 postOpt removeSimpleEquations (simulation): time 0.004825/0.5528, allocations: 2.728 MB / 450.1 MB, free: 22.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.5528, allocations: 5.469 kB / 450.1 MB, free: 22.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.5541, allocations: 277.5 kB / 450.4 MB, free: 22.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005299/0.5547, allocations: 161.8 kB / 450.5 MB, free: 22.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.5548, allocations: 25.58 kB / 450.6 MB, free: 22.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.558, allocations: 4.434 MB / 455 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.558, allocations: 1.969 kB / 455 MB, free: 18.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.5614, allocations: 2.47 MB / 457.5 MB, free: 17.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.562, allocations: 273.1 kB / 457.7 MB, free: 16.83 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.5621, allocations: 21.14 kB / 457.8 MB, free: 16.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.5629, allocations: 67.08 kB / 457.8 MB, free: 16.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5631, allocations: 76.62 kB / 457.9 MB, free: 16.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.5631, allocations: 32.12 kB / 457.9 MB, free: 16.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008632/0.564, allocations: 488.3 kB / 458.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.564, allocations: 0 / 458.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001865/0.5659, allocations: 380.7 kB / 458.8 MB, free: 16.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * 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 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002475/0.5684, allocations: 1.966 MB / 460.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.5706, allocations: 1.291 MB / 462 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5706, allocations: 3.938 kB / 462 MB, free: 14.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.5718, allocations: 0.8849 MB / 462.9 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/0.5728, allocations: 139.6 kB / 463.1 MB, free: 13.83 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.01106/0.5838, allocations: 6.451 MB / 469.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.5846, allocations: 1.101 MB / 470.6 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008809/0.5855, allocations: 153.4 kB / 470.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.5861, allocations: 427.3 kB / 471.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of SimCode: time 1.834e-06/0.5861, allocations: 6.844 kB / 471.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06095/0.6471, allocations: 20.15 MB / 491.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.6474, allocations: 204.3 kB / 491.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.119, allocations: 0 / 491.5 MB, free: 2.184 MB / 334.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) Environment - environmentSimulation: