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.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.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.0008369/0.0008369, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004786/0.004786, allocations: 170 kB / 16.26 MB, free: 6.613 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.163/1.163, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05644/0.05644, allocations: 14.17 MB / 284.9 MB, free: 7.035 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.0004548/0.0004548, allocations: 12.22 kB / 346.9 MB, free: 19.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07876, allocations: 51.11 MB / 398 MB, free: 292 kB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004804/0.08361, allocations: 5.191 MB / 403.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.08749, allocations: 2.905 MB / 406.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.08775, allocations: 8 kB / 406.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.08828, allocations: 234.9 kB / 406.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.09049, allocations: 1.123 MB / 407.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.09121, allocations: 435 kB / 407.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.0925, allocations: 1.39 MB / 409.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.09266, allocations: 81.75 kB / 409.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.09305, allocations: 410.1 kB / 409.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.09354, allocations: 481.9 kB / 410.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.09363, allocations: 36 kB / 410.2 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.09407, allocations: 259.8 kB / 410.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.09418, allocations: 135.3 kB / 410.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.09451, allocations: 423.6 kB / 411 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009078/0.09543, allocations: 1.047 MB / 412.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09544, allocations: 0 / 412.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09544, allocations: 0 / 412.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.09546, allocations: 0 / 412.1 MB, free: 2.113 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.002868/0.09833, allocations: 1.22 MB / 413.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.09837, allocations: 8.031 kB / 413.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/0.09847, allocations: 82.7 kB / 413.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.09879, allocations: 104 kB / 413.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.09955, allocations: 0.5363 MB / 414 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.09959, allocations: 45.31 kB / 414.1 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.0997, allocations: 67.89 kB / 414.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.1004, allocations: 482 kB / 414.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1005, allocations: 4 kB / 414.6 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.1005, allocations: 20 kB / 414.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1005, allocations: 12 kB / 414.6 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.1013, allocations: 499.7 kB / 415.1 MB, free: 14.95 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.003919/0.1053, allocations: 2.856 MB / 418 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1065, allocations: 0.7802 MB / 418.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.1068, allocations: 238.5 kB / 419 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.1069, allocations: 8.562 kB / 419 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1069, allocations: 43.06 kB / 419.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.864e-06/0.1069, allocations: 0 / 419.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=62): time 0.003634/0.1106, allocations: 1.292 MB / 420.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1106, allocations: 63.97 kB / 420.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.1111, allocations: 0.4987 MB / 420.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.1112, allocations: 45.7 kB / 420.9 MB, free: 8.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1114, allocations: 257.1 kB / 421.2 MB, free: 8.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.1115, allocations: 224.8 kB / 421.4 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1116, allocations: 93.67 kB / 421.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1118, allocations: 374.8 kB / 421.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.1123, allocations: 325.8 kB / 422.2 MB, free: 7.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.1129, allocations: 401.4 kB / 422.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.1139, allocations: 0.6358 MB / 423.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1139, allocations: 0 / 423.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002855/0.1167, allocations: 1.287 MB / 424.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1168, allocations: 11.94 kB / 424.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1168, allocations: 0 / 424.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/0.1193, allocations: 0.6179 MB / 425.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.1201, allocations: 223.7 kB / 425.4 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.153/0.2731, allocations: 10.6 MB / 436 MB, free: 21.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.2738, allocations: 83.95 kB / 436 MB, free: 21.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.2739, allocations: 34.12 kB / 436.1 MB, free: 21.93 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.0002693/0.2742, allocations: 199.5 kB / 436.3 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.2743, allocations: 62.69 kB / 436.3 MB, free: 21.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.2759, allocations: 0.7854 MB / 437.1 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.2759, allocations: 10.97 kB / 437.1 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2759, allocations: 2.344 kB / 437.1 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.2759, allocations: 4.078 kB / 437.1 MB, free: 21.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.2782, allocations: 1.565 MB / 438.7 MB, free: 21.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2782, allocations: 0.875 kB / 438.7 MB, free: 21.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.2788, allocations: 142.1 kB / 438.8 MB, free: 21.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008481/0.2797, allocations: 275.5 kB / 439.1 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.2797, allocations: 12 kB / 439.1 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.2825, allocations: 2.402 MB / 441.5 MB, free: 19.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2825, allocations: 2.672 kB / 441.5 MB, free: 19.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.2843, allocations: 1.129 MB / 442.6 MB, free: 19.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.2845, allocations: 189.9 kB / 442.8 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.2845, allocations: 14.45 kB / 442.8 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.2849, allocations: 29.55 kB / 442.9 MB, free: 19.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.285, allocations: 44.67 kB / 442.9 MB, free: 19.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.285, allocations: 15.84 kB / 442.9 MB, free: 19.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.2854, allocations: 332.3 kB / 443.3 MB, free: 19.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2854, allocations: 0 / 443.3 MB, free: 19.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007531/0.2861, allocations: 262.6 kB / 443.5 MB, free: 19.55 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.002044/0.2882, allocations: 1.724 MB / 445.2 MB, free: 18.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.2906, allocations: 1.679 MB / 446.9 MB, free: 17.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2906, allocations: 0.6875 kB / 446.9 MB, free: 17.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.2915, allocations: 0.5252 MB / 447.4 MB, free: 17.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.292, allocations: 97.66 kB / 447.5 MB, free: 17.19 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.01052/0.3026, allocations: 7.17 MB / 454.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.3029, allocations: 0.902 MB / 455.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002665/0.3032, allocations: 66.94 kB / 455.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.3034, allocations: 215.2 kB / 455.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3034, allocations: 3.938 kB / 455.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.3405, allocations: 15.76 MB / 471.7 MB, free: 56 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.3407, allocations: 247.8 kB / 471.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.319, allocations: 0 / 471.9 MB, free: 15.79 MB / 334.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/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad_res.mat --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) TODO: How the !@#!# did the simulation report success but simulation result PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad_res.mat does not exist to compare? outputFormat=mat