Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_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.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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_PowerGrids_Electrical_Test_SynchronousMachine4Windings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4Windings,fileNamePrefix="PowerGrids_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.00113/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001153/0.001153, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.111/1.111, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05538/0.05538, allocations: 14.16 MB / 283.5 MB, free: 7.309 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.001292/0.001292, allocations: 82.55 kB / 344.5 MB, free: 19.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06493/0.06623, allocations: 50.12 MB / 394.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.005233/0.0715, allocations: 5.634 MB / 400.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.07498, allocations: 2.948 MB / 403.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.07518, allocations: 11.94 kB / 403.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.07567, allocations: 231 kB / 403.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.07754, allocations: 1.136 MB / 404.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.07819, allocations: 442.9 kB / 405 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.07932, allocations: 1.394 MB / 406.4 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.07946, allocations: 77.73 kB / 406.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.07982, allocations: 414.2 kB / 406.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.08024, allocations: 481.9 kB / 407.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.08031, allocations: 36 kB / 407.4 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.08074, allocations: 259.8 kB / 407.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.08084, allocations: 139.3 kB / 407.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.08114, allocations: 401.8 kB / 408.2 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008215/0.08197, allocations: 1.059 MB / 409.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.08198, allocations: 0 / 409.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.08199, allocations: 0 / 409.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.082, allocations: 0 / 409.2 MB, free: 2.902 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.002902/0.0849, allocations: 1.337 MB / 410.6 MB, free: 1.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.08494, allocations: 8.031 kB / 410.6 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.447e-05/0.08504, allocations: 86.7 kB / 410.7 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.08537, allocations: 103.9 kB / 410.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007041/0.08608, allocations: 0.5401 MB / 411.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.08612, allocations: 37.38 kB / 411.3 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.08621, allocations: 67.84 kB / 411.4 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.08691, allocations: 486 kB / 411.9 MB, free: 144 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.08693, allocations: 8 kB / 411.9 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.08698, allocations: 16 kB / 411.9 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.08699, allocations: 8 kB / 411.9 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.08774, allocations: 487.7 kB / 412.4 MB, free: 15.63 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.003692/0.09144, allocations: 2.852 MB / 415.2 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.09257, allocations: 0.7727 MB / 416 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.09292, allocations: 238.5 kB / 416.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.09297, allocations: 4.562 kB / 416.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.093, allocations: 39.12 kB / 416.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.603e-06/0.09301, allocations: 3.938 kB / 416.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=62): time 0.003334/0.09634, allocations: 1.284 MB / 417.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.09638, allocations: 55.97 kB / 417.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.09683, allocations: 0.4987 MB / 418.1 MB, free: 9.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.09688, allocations: 41.7 kB / 418.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.09704, allocations: 265.1 kB / 418.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.09719, allocations: 212.8 kB / 418.6 MB, free: 8.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.0974, allocations: 182.5 kB / 418.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.09754, allocations: 374.8 kB / 419.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.09805, allocations: 317.9 kB / 419.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.09858, allocations: 393.4 kB / 419.9 MB, free: 7.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.09947, allocations: 0.6357 MB / 420.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09948, allocations: 0 / 420.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002781/0.1023, allocations: 1.267 MB / 421.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1023, allocations: 7.984 kB / 421.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1023, allocations: 0 / 421.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.1047, allocations: 0.6106 MB / 422.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008161/0.1056, allocations: 219.7 kB / 422.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1082/0.2138, allocations: 10.61 MB / 433.2 MB, free: 32.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.2145, allocations: 87 kB / 433.3 MB, free: 32.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.2145, allocations: 30.33 kB / 433.3 MB, free: 32.19 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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.2148, allocations: 205.7 kB / 433.5 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.2149, allocations: 69.78 kB / 433.6 MB, free: 32.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2163, allocations: 0.7597 MB / 434.4 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2163, allocations: 10.45 kB / 434.4 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2163, allocations: 3.656 kB / 434.4 MB, free: 31.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2163, allocations: 9.938 kB / 434.4 MB, free: 31.83 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.00201/0.2183, allocations: 1.547 MB / 435.9 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2183, allocations: 1.062 kB / 435.9 MB, free: 30.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.2189, allocations: 129.7 kB / 436.1 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.2197, allocations: 252.9 kB / 436.3 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.2198, allocations: 11.81 kB / 436.3 MB, free: 30.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.2224, allocations: 2.392 MB / 438.7 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2224, allocations: 5.312 kB / 438.7 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.224, allocations: 1.099 MB / 439.8 MB, free: 28.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.2242, allocations: 198.5 kB / 440 MB, free: 28.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.047e-05/0.2243, allocations: 11.16 kB / 440 MB, free: 28.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.2246, allocations: 17.69 kB / 440 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.2247, allocations: 44.38 kB / 440.1 MB, free: 28.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.2248, allocations: 16.81 kB / 440.1 MB, free: 28.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.225, allocations: 333.2 kB / 440.4 MB, free: 28.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.225, allocations: 3.25 kB / 440.4 MB, free: 28.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.2257, allocations: 263.6 kB / 440.7 MB, free: 28.22 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.2276, allocations: 1.701 MB / 442.4 MB, free: 27.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.2298, allocations: 1.668 MB / 444.1 MB, free: 26.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2298, allocations: 3.984 kB / 444.1 MB, free: 26.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.2306, allocations: 0.521 MB / 444.6 MB, free: 25.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.2312, allocations: 89.58 kB / 444.7 MB, free: 25.73 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009795/0.241, allocations: 7.031 MB / 451.7 MB, free: 21.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2412, allocations: 0.903 MB / 452.6 MB, free: 21.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.2415, allocations: 68.19 kB / 452.7 MB, free: 21.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.2417, allocations: 223.5 kB / 452.9 MB, free: 20.95 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2417, allocations: 0 / 452.9 MB, free: 20.95 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2638, allocations: 15.94 MB / 468.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.2639, allocations: 236.9 kB / 469.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.169, allocations: 0 / 469.1 MB, free: 7.453 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_SynchronousMachine4Windings.fmu > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4Windings_res.mat does not exist to compare? outputFormat=mat