Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4Windings",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.0009276/0.0009278, 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.001334/0.001334, allocations: 178.7 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.726/1.726, 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.06563/0.06563, allocations: 14.17 MB / 285.2 MB, free: 7.098 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.0005395/0.0005397, allocations: 12 kB / 346.9 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1422, allocations: 51.12 MB / 398 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.006255/0.1485, allocations: 4.911 MB / 402.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.1543, allocations: 2.736 MB / 405.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.1551, allocations: 11.94 kB / 405.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.156, allocations: 206.9 kB / 405.9 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.1587, allocations: 0.9758 MB / 406.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.1597, allocations: 370.7 kB / 407.2 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.1617, allocations: 1.32 MB / 408.6 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.1619, allocations: 81.69 kB / 408.6 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.1624, allocations: 398.3 kB / 409 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.1631, allocations: 462.1 kB / 409.5 MB, free: 5.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.731e-05/0.1632, allocations: 36 kB / 409.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.1639, allocations: 251.8 kB / 409.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.164, allocations: 131.4 kB / 409.9 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.1642, allocations: 161.3 kB / 410 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009192/0.1651, allocations: 0.7989 MB / 410.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1652, allocations: 0 / 410.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1652, allocations: 0 / 410.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1652, allocations: 0 / 410.8 MB, free: 3.75 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003253/0.1685, allocations: 1.227 MB / 412.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.1685, allocations: 12.02 kB / 412.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.1687, allocations: 86.52 kB / 412.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.1691, allocations: 107 kB / 412.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.17, allocations: 0.5117 MB / 412.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.1701, allocations: 45 kB / 412.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1702, allocations: 63.91 kB / 412.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.1711, allocations: 478.1 kB / 413.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1711, allocations: 0 / 413.4 MB, free: 1.121 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.1711, allocations: 20 kB / 413.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.1712, allocations: 15.98 kB / 413.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.1721, allocations: 499.7 kB / 413.9 MB, free: 0.6016 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.004818/0.1769, allocations: 2.864 MB / 416.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.1784, allocations: 0.7722 MB / 417.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.1789, allocations: 238.5 kB / 417.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.407e-05/0.179, allocations: 5.219 kB / 417.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.179, allocations: 39.12 kB / 417.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 3.336e-06/0.179, allocations: 7.938 kB / 417.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005712/0.1848, allocations: 2.093 MB / 419.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.1848, allocations: 55.97 kB / 419.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.1856, allocations: 0.4948 MB / 420.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.1856, allocations: 45.7 kB / 420.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.1859, allocations: 253.2 kB / 420.7 MB, free: 9.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.1862, allocations: 228.6 kB / 421 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.1862, allocations: 16 kB / 421 MB, free: 9.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.1865, allocations: 378.8 kB / 421.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.1871, allocations: 321.9 kB / 421.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.1879, allocations: 401.3 kB / 422 MB, free: 7.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.1886, allocations: 367 kB / 422.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1886, allocations: 0 / 422.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003164/0.1918, allocations: 1.271 MB / 423.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1919, allocations: 8 kB / 423.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.1919, allocations: 3.984 kB / 423.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.1943, allocations: 0.6262 MB / 424.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.1953, allocations: 219.7 kB / 424.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3216/0.5169, allocations: 10.58 MB / 435.1 MB, free: 22.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.518, allocations: 33.7 kB / 435.1 MB, free: 22.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.5181, allocations: 29.7 kB / 435.2 MB, free: 22.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {3 12,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.5187, allocations: 207.8 kB / 435.4 MB, free: 22.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.5189, allocations: 64.67 kB / 435.4 MB, free: 22.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.5214, allocations: 0.7774 MB / 436.2 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5214, allocations: 8.812 kB / 436.2 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.5214, allocations: 7.172 kB / 436.2 MB, free: 22.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5214, allocations: 6.016 kB / 436.2 MB, free: 22.73 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.00372/0.5252, allocations: 1.563 MB / 437.8 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5252, allocations: 1.188 kB / 437.8 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.5259, allocations: 134.5 kB / 437.9 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009935/0.5269, allocations: 277.8 kB / 438.2 MB, free: 22.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.527, allocations: 9.953 kB / 438.2 MB, free: 22.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004403/0.5314, allocations: 2.381 MB / 440.6 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5314, allocations: 1 kB / 440.6 MB, free: 21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/0.553, allocations: 8.158 MB / 448.8 MB, free: 18.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5534, allocations: 186.7 kB / 448.9 MB, free: 17.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5536, allocations: 12.83 kB / 448.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.5541, allocations: 24.34 kB / 449 MB, free: 17.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.5544, allocations: 42.78 kB / 449 MB, free: 17.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.5544, allocations: 15.88 kB / 449 MB, free: 17.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.5553, allocations: 336.2 kB / 449.4 MB, free: 17.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5553, allocations: 0 / 449.4 MB, free: 17.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002177/0.5575, allocations: 349.4 kB / 449.7 MB, free: 17.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (48): * Single equations (assignments): 47 * 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 {(6,61.1%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003334/0.5609, allocations: 1.713 MB / 451.4 MB, free: 16.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003436/0.5643, allocations: 1.679 MB / 453.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5643, allocations: 0 / 453.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.5653, allocations: 0.5247 MB / 453.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.5659, allocations: 97.77 kB / 453.7 MB, free: 15.27 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.009531/0.5755, allocations: 5.197 MB / 458.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.576, allocations: 0.923 MB / 459.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.5764, allocations: 71.12 kB / 459.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.5767, allocations: 222.4 kB / 460.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5767, allocations: 3.375 kB / 460.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.6122, allocations: 17.31 MB / 477.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.6125, allocations: 232.2 kB / 477.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.043, allocations: 4 kB / 477.7 MB, free: 11.53 MB / 334.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4Windings_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4Windings.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) Environment - environmentSimulation: