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.001441/0.00144, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001577/0.001577, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.672/1.672, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05926/0.05926, allocations: 14.16 MB / 283.6 MB, free: 7.246 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.001593/0.001593, allocations: 75.28 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.0942, allocations: 50.12 MB / 394.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.007465/0.1017, allocations: 5.631 MB / 400.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.107, allocations: 2.936 MB / 403.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.1077, allocations: 15.94 kB / 403.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007852/0.1086, allocations: 227 kB / 403.6 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.1114, allocations: 1.119 MB / 404.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.1123, allocations: 435 kB / 405.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1141, allocations: 1.457 MB / 406.6 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1143, allocations: 93.67 kB / 406.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/0.1149, allocations: 478.2 kB / 407.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.1154, allocations: 0.498 MB / 407.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/0.1155, allocations: 68 kB / 407.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.1163, allocations: 311.8 kB / 408 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1164, allocations: 167.3 kB / 408.2 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.1167, allocations: 433.9 kB / 408.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1179, allocations: 1.095 MB / 409.7 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1179, allocations: 4 kB / 409.7 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1179, allocations: 0 / 409.7 MB, free: 2.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1179, allocations: 0 / 409.7 MB, free: 2.477 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.003352/0.1213, allocations: 1.344 MB / 411.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1213, allocations: 16.03 kB / 411.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.957e-05/0.1214, allocations: 78.7 kB / 411.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.1218, allocations: 108 kB / 411.3 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.1227, allocations: 0.5284 MB / 411.8 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.1227, allocations: 45.38 kB / 411.8 MB, free: 272 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.863e-05/0.1228, allocations: 67.84 kB / 411.9 MB, free: 204 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.1236, allocations: 486.1 kB / 412.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1236, allocations: 0 / 412.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1237, allocations: 20 kB / 412.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1237, allocations: 12 kB / 412.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.1245, allocations: 487.7 kB / 412.9 MB, free: 15.2 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.004341/0.1289, allocations: 2.848 MB / 415.7 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.1301, allocations: 0.7737 MB / 416.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.1305, allocations: 238.5 kB / 416.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.1306, allocations: 8.562 kB / 416.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1306, allocations: 39.12 kB / 416.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.585e-06/0.1306, allocations: 0 / 416.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=62): time 0.00371/0.1343, allocations: 1.276 MB / 418.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.1344, allocations: 59.97 kB / 418.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.1349, allocations: 0.4909 MB / 418.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.135, allocations: 45.7 kB / 418.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1351, allocations: 261.1 kB / 418.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.1353, allocations: 220.8 kB / 419.1 MB, free: 8.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.1355, allocations: 178.5 kB / 419.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1357, allocations: 378.8 kB / 419.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.1362, allocations: 313.9 kB / 420 MB, free: 7.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.1367, allocations: 401.3 kB / 420.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.1377, allocations: 0.6357 MB / 421 MB, free: 6.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1377, allocations: 0 / 421 MB, free: 6.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002909/0.1406, allocations: 1.275 MB / 422.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1406, allocations: 4 kB / 422.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1407, allocations: 3.938 kB / 422.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.1433, allocations: 0.6179 MB / 422.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.1442, allocations: 215.7 kB / 423.1 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1668/0.311, allocations: 11.41 MB / 434.5 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.3117, allocations: 88.58 kB / 434.6 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.3117, allocations: 30.27 kB / 434.6 MB, free: 31.04 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.0002451/0.312, allocations: 206.4 kB / 434.8 MB, free: 30.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3121, allocations: 62.78 kB / 434.9 MB, free: 30.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.3137, allocations: 0.7659 MB / 435.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3137, allocations: 10.06 kB / 435.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3137, allocations: 3.75 kB / 435.7 MB, free: 30.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3137, allocations: 4.094 kB / 435.7 MB, free: 30.57 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.002245/0.316, allocations: 1.552 MB / 437.2 MB, free: 29.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.316, allocations: 1.375 kB / 437.2 MB, free: 29.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.3166, allocations: 132.2 kB / 437.4 MB, free: 29.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.3175, allocations: 250.7 kB / 437.6 MB, free: 29.65 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3175, allocations: 15.91 kB / 437.6 MB, free: 29.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.3205, allocations: 2.585 MB / 440.2 MB, free: 27.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3205, allocations: 5.297 kB / 440.2 MB, free: 27.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.3223, allocations: 1.107 MB / 441.3 MB, free: 27.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.3225, allocations: 184.7 kB / 441.5 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.3226, allocations: 11.06 kB / 441.5 MB, free: 27.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.323, allocations: 26.59 kB / 441.5 MB, free: 27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3231, allocations: 42.14 kB / 441.6 MB, free: 27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.3232, allocations: 15.52 kB / 441.6 MB, free: 27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000372/0.3235, allocations: 332.5 kB / 441.9 MB, free: 26.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3235, allocations: 0 / 441.9 MB, free: 26.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008237/0.3244, allocations: 260.5 kB / 442.2 MB, free: 26.81 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.002034/0.3264, allocations: 1.703 MB / 443.9 MB, free: 25.72 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 initialization part: time 0.00287/0.3293, allocations: 1.708 MB / 445.6 MB, free: 24.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3293, allocations: 0 / 445.6 MB, free: 24.6 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 simulation system equations: time 0.0009834/0.3303, allocations: 0.5191 MB / 446.1 MB, free: 24.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.331, allocations: 97.92 kB / 446.2 MB, free: 24.29 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.01146/0.3425, allocations: 7.046 MB / 453.2 MB, free: 20.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3428, allocations: 0.9029 MB / 454.2 MB, free: 19.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.3431, allocations: 64.84 kB / 454.2 MB, free: 19.64 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.3433, allocations: 220.1 kB / 454.4 MB, free: 19.48 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3433, allocations: 0 / 454.4 MB, free: 19.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.376, allocations: 16.64 MB / 471.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.3762, allocations: 237.1 kB / 471.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.496, allocations: 4 kB / 471.3 MB, free: 5.004 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