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.001078/0.001078, allocations: 96.27 kB / 15.7 MB, free: 472 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.001348/0.001348, allocations: 180.4 kB / 16.58 MB, free: 6.391 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.753/1.753, 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.05989/0.05989, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.0005495/0.0005496, allocations: 16.2 kB / 346.9 MB, free: 19.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 51.12 MB / 398 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.005611/0.1572, allocations: 4.589 MB / 402.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.1625, allocations: 2.709 MB / 405.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.1632, allocations: 7.938 kB / 405.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.1639, allocations: 214.8 kB / 405.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.1666, allocations: 1.028 MB / 406.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.1677, allocations: 378.5 kB / 406.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.1696, allocations: 0.9442 MB / 407.9 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.1699, allocations: 81.75 kB / 407.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/0.1707, allocations: 414.6 kB / 408.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.1714, allocations: 446.4 kB / 408.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.1715, allocations: 36 kB / 408.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.1724, allocations: 243.8 kB / 409 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1725, allocations: 123.5 kB / 409.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1727, allocations: 165.3 kB / 409.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009889/0.1737, allocations: 0.7833 MB / 410.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1737, allocations: 4 kB / 410.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1737, allocations: 0 / 410.1 MB, free: 4.484 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1738, allocations: 0 / 410.1 MB, free: 4.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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003338/0.1771, allocations: 1.22 MB / 411.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1772, allocations: 16.02 kB / 411.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.1773, allocations: 82.53 kB / 411.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.1778, allocations: 107 kB / 411.5 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.1787, allocations: 0.5195 MB / 412.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.1787, allocations: 41 kB / 412.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1789, allocations: 63.91 kB / 412.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.1797, allocations: 474.1 kB / 412.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1797, allocations: 7.984 kB / 412.6 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.1798, allocations: 12 kB / 412.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1798, allocations: 12 kB / 412.6 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.1807, allocations: 499.7 kB / 413.1 MB, free: 1.348 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.004869/0.1855, allocations: 2.868 MB / 416 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.187, allocations: 0.7723 MB / 416.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.649e-05/0.187, allocations: 8.562 kB / 416.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1871, allocations: 39.12 kB / 416.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 4.609e-06/0.1871, allocations: 0 / 416.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005267/0.1924, allocations: 2.052 MB / 418.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1925, allocations: 59.95 kB / 418.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.1931, allocations: 0.4987 MB / 419.4 MB, free: 10.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.1932, allocations: 37.7 kB / 419.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.1934, allocations: 257.2 kB / 419.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.1937, allocations: 232.6 kB / 419.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/0.1937, allocations: 20 kB / 420 MB, free: 10.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1939, allocations: 378.7 kB / 420.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.1945, allocations: 313.9 kB / 420.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.1952, allocations: 397.4 kB / 421 MB, free: 8.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.1958, allocations: 366.9 kB / 421.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1959, allocations: 0 / 421.4 MB, free: 8.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003206/0.1991, allocations: 1.268 MB / 422.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1991, allocations: 12.06 kB / 422.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1991, allocations: 0 / 422.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.2018, allocations: 0.6223 MB / 423.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/0.2028, allocations: 219.7 kB / 423.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2358/0.4386, allocations: 10.67 MB / 434.2 MB, free: 32.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.4394, allocations: 34.52 kB / 434.2 MB, free: 32.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.4395, allocations: 29.67 kB / 434.2 MB, free: 32.12 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.0003688/0.4399, allocations: 204.2 kB / 434.4 MB, free: 32.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.44, allocations: 62.5 kB / 434.5 MB, free: 32.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.4419, allocations: 0.7856 MB / 435.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4419, allocations: 12.78 kB / 435.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4419, allocations: 3.281 kB / 435.3 MB, free: 31.95 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4419, allocations: 7.141 kB / 435.3 MB, free: 31.94 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.002721/0.4447, allocations: 1.565 MB / 436.9 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.4447, allocations: 0 / 436.9 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.4453, allocations: 134.7 kB / 437 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009828/0.4463, allocations: 276.9 kB / 437.3 MB, free: 31.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.4464, allocations: 12.97 kB / 437.3 MB, free: 31.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.4501, allocations: 2.443 MB / 439.7 MB, free: 29.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4501, allocations: 1.969 kB / 439.7 MB, free: 29.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/0.468, allocations: 8.743 MB / 448.5 MB, free: 24.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.4683, allocations: 187.7 kB / 448.7 MB, free: 24.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.4684, allocations: 13.59 kB / 448.7 MB, free: 24.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.4688, allocations: 21.14 kB / 448.7 MB, free: 24.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.469, allocations: 51 kB / 448.7 MB, free: 24.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.4691, allocations: 17.06 kB / 448.8 MB, free: 24.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.4695, allocations: 331.3 kB / 449.1 MB, free: 23.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4695, allocations: 0 / 449.1 MB, free: 23.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00167/0.4712, allocations: 346.8 kB / 449.4 MB, free: 23.95 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.002376/0.4736, allocations: 1.711 MB / 451.1 MB, free: 22.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.4764, allocations: 1.68 MB / 452.8 MB, free: 21.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4765, allocations: 3.828 kB / 452.8 MB, free: 21.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.4775, allocations: 0.5244 MB / 453.3 MB, free: 21.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.478, allocations: 84.45 kB / 453.4 MB, free: 21.42 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.004704/0.4828, allocations: 2.972 MB / 456.4 MB, free: 19.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.4832, allocations: 0.9368 MB / 457.3 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.4836, allocations: 75.64 kB / 457.4 MB, free: 18.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.4839, allocations: 223.3 kB / 457.6 MB, free: 18.31 MB / 318.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4839, allocations: 0 / 457.6 MB, free: 18.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/0.5266, allocations: 16.86 MB / 474.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.5269, allocations: 217.1 kB / 474.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.643, allocations: 0 / 474.7 MB, free: 2.961 MB / 318.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: