Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad",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.0008134/0.0008136, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008383/0.0008383, allocations: 172.7 kB / 15.95 MB, free: 208 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.443/1.443, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06018/0.06018, allocations: 14.17 MB / 284.6 MB, free: 6.98 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.000499/0.000499, allocations: 16 kB / 346.3 MB, free: 19.74 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08765, allocations: 51.12 MB / 397.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004879/0.09256, allocations: 4.907 MB / 402.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.09704, allocations: 2.74 MB / 405 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.09759, allocations: 8 kB / 405 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.09819, allocations: 206.9 kB / 405.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.1003, allocations: 0.979 MB / 406.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007726/0.1011, allocations: 375.1 kB / 406.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.1027, allocations: 1.324 MB / 407.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1029, allocations: 73.73 kB / 408 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004721/0.1033, allocations: 398.4 kB / 408.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005134/0.1039, allocations: 462.1 kB / 408.8 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.104, allocations: 36 kB / 408.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.1045, allocations: 255.8 kB / 409.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1047, allocations: 131.4 kB / 409.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1048, allocations: 161.3 kB / 409.4 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007742/0.1056, allocations: 0.7989 MB / 410.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1056, allocations: 4 kB / 410.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1056, allocations: 0 / 410.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1056, allocations: 0 / 410.2 MB, free: 3.711 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.002891/0.1085, allocations: 1.224 MB / 411.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1086, allocations: 12.02 kB / 411.4 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.1087, allocations: 86.52 kB / 411.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003315/0.109, allocations: 111 kB / 411.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/0.1098, allocations: 0.5117 MB / 412.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.1099, allocations: 41 kB / 412.2 MB, free: 1.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.11, allocations: 63.91 kB / 412.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.1107, allocations: 490 kB / 412.7 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1107, allocations: 3.938 kB / 412.7 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.1108, allocations: 16 kB / 412.7 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.1108, allocations: 12 kB / 412.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007827/0.1116, allocations: 491.7 kB / 413.2 MB, free: 0.5664 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.003751/0.1154, allocations: 2.868 MB / 416.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1165, allocations: 0.7726 MB / 416.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1169, allocations: 234.6 kB / 417.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.117, allocations: 24.42 kB / 417.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.117, allocations: 39.12 kB / 417.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/0.117, allocations: 0 / 417.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004742/0.1218, allocations: 2.09 MB / 419.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1218, allocations: 59.97 kB / 419.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.1223, allocations: 0.4987 MB / 419.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1224, allocations: 37.7 kB / 419.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1226, allocations: 265.1 kB / 420.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.1227, allocations: 232.6 kB / 420.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1228, allocations: 20 kB / 420.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1229, allocations: 374.8 kB / 420.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.1234, allocations: 321.9 kB / 421 MB, free: 8.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.124, allocations: 393.4 kB / 421.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.1246, allocations: 375 kB / 421.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1246, allocations: 0 / 421.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002712/0.1273, allocations: 1.268 MB / 423.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1273, allocations: 8 kB / 423.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1273, allocations: 0 / 423.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.1296, allocations: 0.6105 MB / 423.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.1304, allocations: 223.7 kB / 423.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1738/0.3042, allocations: 10.56 MB / 434.5 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.3049, allocations: 35.58 kB / 434.5 MB, free: 23.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.3049, allocations: 32.28 kB / 434.5 MB, free: 23.23 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.0002529/0.3052, allocations: 202.1 kB / 434.7 MB, free: 23.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.3053, allocations: 63.31 kB / 434.8 MB, free: 23.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.3069, allocations: 0.7851 MB / 435.6 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3069, allocations: 9.844 kB / 435.6 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3069, allocations: 11.03 kB / 435.6 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.3069, allocations: 6.984 kB / 435.6 MB, free: 23.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.3092, allocations: 1.56 MB / 437.2 MB, free: 22.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3092, allocations: 0 / 437.2 MB, free: 22.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.3098, allocations: 135.6 kB / 437.3 MB, free: 22.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008081/0.3106, allocations: 271.4 kB / 437.5 MB, free: 22.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.3106, allocations: 15.3 kB / 437.6 MB, free: 22.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.3135, allocations: 2.391 MB / 440 MB, free: 21.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3135, allocations: 0 / 440 MB, free: 21.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.3153, allocations: 1.123 MB / 441.1 MB, free: 21.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.3155, allocations: 185.2 kB / 441.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.3156, allocations: 13.59 kB / 441.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.316, allocations: 26.58 kB / 441.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.3161, allocations: 41.66 kB / 441.3 MB, free: 20.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3161, allocations: 22.98 kB / 441.4 MB, free: 20.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.3164, allocations: 327 kB / 441.7 MB, free: 20.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3165, allocations: 0 / 441.7 MB, free: 20.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000952/0.3174, allocations: 262.2 kB / 441.9 MB, free: 20.89 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.002164/0.3196, allocations: 1.73 MB / 443.7 MB, free: 20.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.322, allocations: 1.668 MB / 445.3 MB, free: 19.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.322, allocations: 3.844 kB / 445.3 MB, free: 19.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.3229, allocations: 0.5233 MB / 445.9 MB, free: 19.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.3235, allocations: 87.31 kB / 445.9 MB, free: 19.2 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.008359/0.3318, allocations: 4.533 MB / 450.5 MB, free: 17.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3322, allocations: 0.9064 MB / 451.4 MB, free: 16.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.3326, allocations: 72.69 kB / 451.5 MB, free: 16.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.3329, allocations: 217.9 kB / 451.7 MB, free: 16.52 MB / 318.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3329, allocations: 0 / 451.7 MB, free: 16.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.361, allocations: 15.45 MB / 467.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/0.3612, allocations: 226.9 kB / 467.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.389, allocations: 0 / 467.3 MB, free: 5.555 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1) Environment - environmentSimulation: