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.001076/0.001076, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001134/0.001135, allocations: 191.6 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.306/1.306, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06118/0.06118, allocations: 14.16 MB / 283.6 MB, free: 7.242 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.001464/0.001464, allocations: 67.91 kB / 344.7 MB, free: 19.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09994, allocations: 50.13 MB / 394.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.006103/0.1061, allocations: 5.635 MB / 400.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.1108, allocations: 2.94 MB / 403.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.1113, allocations: 11.94 kB / 403.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007897/0.1121, allocations: 234.9 kB / 403.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1146, allocations: 1.104 MB / 404.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.1155, allocations: 442.9 kB / 405.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.1171, allocations: 1.453 MB / 406.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.1173, allocations: 89.73 kB / 406.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.1178, allocations: 478.2 kB / 407.2 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005018/0.1183, allocations: 0.5096 MB / 407.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1184, allocations: 68 kB / 407.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005828/0.119, allocations: 307.8 kB / 408 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1191, allocations: 167.3 kB / 408.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.1195, allocations: 437.9 kB / 408.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1206, allocations: 1.114 MB / 409.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1206, allocations: 0 / 409.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1207, allocations: 0 / 409.7 MB, free: 2.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1207, allocations: 0 / 409.7 MB, free: 2.469 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.00325/0.1239, allocations: 1.341 MB / 411.1 MB, free: 1.074 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.124, allocations: 12.03 kB / 411.1 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.902e-05/0.1241, allocations: 86.64 kB / 411.2 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.1244, allocations: 104 kB / 411.3 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.1252, allocations: 0.5285 MB / 411.8 MB, free: 312 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.1253, allocations: 45.38 kB / 411.9 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1254, allocations: 71.84 kB / 411.9 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.1262, allocations: 482 kB / 412.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1262, allocations: 0 / 412.4 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1262, allocations: 16 kB / 412.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1263, allocations: 12 kB / 412.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.127, allocations: 491.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.00405/0.1311, allocations: 2.852 MB / 415.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.1324, allocations: 0.7734 MB / 416.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.1327, allocations: 234.5 kB / 416.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-05/0.1328, allocations: 8.562 kB / 416.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1328, allocations: 35.12 kB / 416.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.986e-06/0.1329, allocations: 0 / 416.8 MB, free: 10.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=62): time 0.003758/0.1366, allocations: 1.281 MB / 418.1 MB, free: 9.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1367, allocations: 59.97 kB / 418.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.1372, allocations: 0.4948 MB / 418.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.1373, allocations: 41.7 kB / 418.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.1375, allocations: 261.1 kB / 418.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.1377, allocations: 224.8 kB / 419.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.1379, allocations: 178.5 kB / 419.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1381, allocations: 374.8 kB / 419.7 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.1386, allocations: 317.9 kB / 420 MB, free: 7.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.1392, allocations: 397.3 kB / 420.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.1402, allocations: 0.6319 MB / 421 MB, free: 6.605 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1402, allocations: 3.938 kB / 421 MB, free: 6.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003013/0.1432, allocations: 1.275 MB / 422.3 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.1432, allocations: 8 kB / 422.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1433, allocations: 3.938 kB / 422.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.146, allocations: 0.6067 MB / 422.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.1469, allocations: 211.7 kB / 423.1 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1838/0.3307, allocations: 11.41 MB / 434.5 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.3315, allocations: 89.28 kB / 434.6 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.3316, allocations: 34.75 kB / 434.7 MB, free: 31.11 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.0003015/0.3319, allocations: 202.7 kB / 434.9 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.332, allocations: 62.89 kB / 434.9 MB, free: 30.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.3336, allocations: 0.7674 MB / 435.7 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3337, allocations: 6.641 kB / 435.7 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3337, allocations: 5.297 kB / 435.7 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.3337, allocations: 3.281 kB / 435.7 MB, free: 30.63 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.336, allocations: 1.549 MB / 437.3 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.336, allocations: 3.938 kB / 437.3 MB, free: 29.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.3367, allocations: 133.7 kB / 437.4 MB, free: 29.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008929/0.3376, allocations: 251.4 kB / 437.6 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.3376, allocations: 12.08 kB / 437.6 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/0.3408, allocations: 2.586 MB / 440.2 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3408, allocations: 0.6562 kB / 440.2 MB, free: 27.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.3428, allocations: 1.106 MB / 441.3 MB, free: 27.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.343, allocations: 194.3 kB / 441.5 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.3431, allocations: 11.62 kB / 441.5 MB, free: 27.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.3435, allocations: 21.83 kB / 441.6 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3437, allocations: 45.31 kB / 441.6 MB, free: 27.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.3437, allocations: 15.95 kB / 441.6 MB, free: 27.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000456/0.3442, allocations: 334.1 kB / 441.9 MB, free: 26.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3442, allocations: 0 / 441.9 MB, free: 26.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001063/0.3452, allocations: 265.8 kB / 442.2 MB, free: 26.87 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.002289/0.3475, allocations: 1.701 MB / 443.9 MB, free: 25.79 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.003311/0.3509, allocations: 1.708 MB / 445.6 MB, free: 24.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3509, allocations: 0 / 445.6 MB, free: 24.67 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.001071/0.3519, allocations: 0.5196 MB / 446.1 MB, free: 24.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.3527, allocations: 93.06 kB / 446.2 MB, free: 24.35 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.01333/0.366, allocations: 7.065 MB / 453.3 MB, free: 20.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.3665, allocations: 0.8993 MB / 454.2 MB, free: 19.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.3668, allocations: 71.42 kB / 454.3 MB, free: 19.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3671, allocations: 219.1 kB / 454.5 MB, free: 19.52 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3671, allocations: 0 / 454.5 MB, free: 19.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.4046, allocations: 16.73 MB / 471.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.4048, allocations: 244.2 kB / 471.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/2.616, allocations: 0 / 471.4 MB, free: 4.949 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/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