Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate",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.001263/0.001263, allocations: 95.88 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 178.2 kB / 16.57 MB, free: 6.391 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.853/1.853, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06141/0.06141, allocations: 14.16 MB / 285.2 MB, free: 7.16 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.0005191/0.0005192, allocations: 22.75 kB / 348.2 MB, free: 18.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 51.11 MB / 399.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate): time 0.005033/0.1081, allocations: 4.597 MB / 403.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.1133, allocations: 2.705 MB / 406.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.1138, allocations: 11.94 kB / 406.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.1144, allocations: 210.9 kB / 406.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.1168, allocations: 1.031 MB / 407.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008814/0.1177, allocations: 382.5 kB / 408.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1191, allocations: 0.9559 MB / 409.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1193, allocations: 78.03 kB / 409.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.1198, allocations: 418.6 kB / 409.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.1204, allocations: 462.3 kB / 410.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.297e-05/0.1205, allocations: 36 kB / 410.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006374/0.1212, allocations: 239.8 kB / 410.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1213, allocations: 139.4 kB / 410.5 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1215, allocations: 165.3 kB / 410.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.1224, allocations: 0.7987 MB / 411.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1225, allocations: 0 / 411.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1225, allocations: 0 / 411.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.1225, allocations: 0 / 411.5 MB, free: 3.094 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.003481/0.126, allocations: 1.227 MB / 412.7 MB, free: 1.812 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.126, allocations: 12.03 kB / 412.7 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.1262, allocations: 82.52 kB / 412.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.1265, allocations: 107 kB / 412.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.1274, allocations: 0.5234 MB / 413.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1275, allocations: 45 kB / 413.5 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1276, allocations: 63.91 kB / 413.6 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.1284, allocations: 478.1 kB / 414 MB, free: 468 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1284, allocations: 3.984 kB / 414 MB, free: 464 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1285, allocations: 24 kB / 414 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1285, allocations: 8 kB / 414.1 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.1294, allocations: 495.7 kB / 414.5 MB, free: 15.94 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.004475/0.1339, allocations: 2.875 MB / 417.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1351, allocations: 0.7722 MB / 418.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.1352, allocations: 12.55 kB / 418.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1352, allocations: 35.78 kB / 418.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.1352, allocations: 0 / 418.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.005035/0.1403, allocations: 2.055 MB / 420.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1403, allocations: 59.97 kB / 420.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.141, allocations: 0.4986 MB / 420.8 MB, free: 9.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.141, allocations: 41.7 kB / 420.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1412, allocations: 261.2 kB / 421.1 MB, free: 8.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.1414, allocations: 228.6 kB / 421.4 MB, free: 8.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1415, allocations: 20 kB / 421.4 MB, free: 8.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.1418, allocations: 374.8 kB / 421.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.1423, allocations: 333.9 kB / 422.1 MB, free: 7.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.143, allocations: 413.3 kB / 422.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.1437, allocations: 383 kB / 422.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1437, allocations: 4 kB / 422.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004757/0.1485, allocations: 1.593 MB / 424.5 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.1486, allocations: 285.8 kB / 424.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1486, allocations: 7.875 kB / 424.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/0.1535, allocations: 1.006 MB / 425.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.1543, allocations: 199.8 kB / 425.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.259/0.4134, allocations: 9.523 MB / 435.5 MB, free: 24.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/0.4144, allocations: 31.06 kB / 435.5 MB, free: 24.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.4144, allocations: 34.53 kB / 435.5 MB, free: 24.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4145, allocations: 3.75 kB / 435.5 MB, free: 24.6 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003364/0.4178, allocations: 1.2 MB / 436.7 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4179, allocations: 1.312 kB / 436.7 MB, free: 24.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.4203, allocations: 0.6006 MB / 437.3 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.4213, allocations: 221 kB / 437.5 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009248/0.4306, allocations: 10.64 MB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.4314, allocations: 32.36 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.4314, allocations: 29.45 kB / 448.2 MB, free: 15.46 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 (87): * Single equations (assignments): 82 * 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: 5 * Mixed (continuous/discrete) equation systems: 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,3 7,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.4318, allocations: 269.6 kB / 448.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4319, allocations: 66.02 kB / 448.6 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.4338, allocations: 0.7915 MB / 449.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4339, allocations: 6.562 kB / 449.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4339, allocations: 7.734 kB / 449.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4339, allocations: 3.281 kB / 449.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.4367, allocations: 1.557 MB / 450.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4367, allocations: 8.25 kB / 451 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.4374, allocations: 136.7 kB / 451.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009602/0.4384, allocations: 272.7 kB / 451.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.4384, allocations: 12.22 kB / 451.4 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003303/0.4417, allocations: 2.446 MB / 453.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4418, allocations: 1.25 kB / 453.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/0.4577, allocations: 8.749 MB / 462.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.458, allocations: 186.5 kB / 462.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.4581, allocations: 8 kB / 462.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.4584, allocations: 24.38 kB / 462.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.4586, allocations: 50.16 kB / 462.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.4587, allocations: 17.75 kB / 462.8 MB, free: 8.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003449/0.459, allocations: 333.2 kB / 463.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.459, allocations: 0 / 463.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001961/0.461, allocations: 0.6223 MB / 463.8 MB, free: 8.094 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.002003/0.463, allocations: 1.718 MB / 465.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.4671, allocations: 2.989 MB / 468.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4671, allocations: 0 / 468.5 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.468, allocations: 0.5247 MB / 469 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.4685, allocations: 91.16 kB / 469.1 MB, free: 4.203 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.003169/0.4717, allocations: 3.003 MB / 472.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.472, allocations: 0.9439 MB / 473.1 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.4724, allocations: 88.81 kB / 473.1 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.4728, allocations: 220.9 kB / 473.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4728, allocations: 0 / 473.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.5134, allocations: 21.99 MB / 495.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.5136, allocations: 241.2 kB / 495.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.856, allocations: 2.516 kB / 495.6 MB, free: 9.781 MB / 350.1 MB (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerGrids_symb_jac_PowerGrids_Electrical_Test_SynchronousMachine4WindingsNoLoadAccurate.fmu > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoadAccurate.pipe 2>&1) Environment - environmentSimulation: