Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.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) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001398/0.001398, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06164/0.06164, allocations: 14.15 MB / 284.5 MB, free: 7.137 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.0005553/0.0005556, allocations: 12 kB / 346.1 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/0.08457, allocations: 51.13 MB / 397.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing): time 0.007887/0.09249, allocations: 8.157 MB / 405.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.09971, allocations: 4.167 MB / 409.6 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.1012, allocations: 83.5 kB / 409.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.1028, allocations: 373.9 kB / 410 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004523/0.1073, allocations: 1.602 MB / 411.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.109, allocations: 0.6584 MB / 412.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004019/0.113, allocations: 1.95 MB / 414.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004185/0.1134, allocations: 167.5 kB / 414.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.1155, allocations: 1.176 MB / 415.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.1169, allocations: 0.7785 MB / 416.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.1172, allocations: 48 kB / 416.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1186, allocations: 323.6 kB / 416.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002693/0.1189, allocations: 191 kB / 416.9 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.1194, allocations: 297 kB / 417.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1211, allocations: 1.266 MB / 418.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1211, allocations: 0 / 418.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1211, allocations: 0 / 418.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.906e-05/0.1212, allocations: 0 / 418.5 MB, free: 11.45 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00584/0.1271, allocations: 1.952 MB / 420.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1271, allocations: 11.97 kB / 420.4 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.1284, allocations: 242 kB / 420.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.87e-06/0.1284, allocations: 0 / 420.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.1285, allocations: 89.95 kB / 420.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1287, allocations: 112 kB / 420.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1302, allocations: 0.9642 MB / 421.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1303, allocations: 0 / 421.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.1303, allocations: 40 kB / 421.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.1304, allocations: 24 kB / 421.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.132, allocations: 0.9876 MB / 422.9 MB, free: 6.953 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.1747/0.3067, allocations: 6.69 MB / 429.6 MB, free: 35.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.3083, allocations: 1.448 MB / 431 MB, free: 34.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.3084, allocations: 15.55 kB / 431 MB, free: 34.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3084, allocations: 46.75 kB / 431.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=106): time 2.976e-06/0.3084, allocations: 0 / 431.1 MB, free: 34.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=107): time 0.006517/0.315, allocations: 2.757 MB / 433.8 MB, free: 34.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.315, allocations: 66.61 kB / 433.9 MB, free: 33.94 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3161, allocations: 0.7703 MB / 434.7 MB, free: 33.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.3162, allocations: 50.98 kB / 434.7 MB, free: 33.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.3165, allocations: 0.5246 MB / 435.3 MB, free: 33.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.3168, allocations: 390.8 kB / 435.6 MB, free: 32.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.3168, allocations: 30.56 kB / 435.7 MB, free: 32.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.317, allocations: 418.9 kB / 436.1 MB, free: 32.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.3177, allocations: 429.8 kB / 436.5 MB, free: 32.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/0.3185, allocations: 0.7529 MB / 437.2 MB, free: 31.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.3194, allocations: 0.5331 MB / 437.8 MB, free: 31.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.3194, allocations: 2.469 kB / 437.8 MB, free: 31.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01226/0.3317, allocations: 2.52 MB / 440.3 MB, free: 30.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006527/0.3324, allocations: 3.658 MB / 444 MB, free: 26.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.3324, allocations: 9.25 kB / 444 MB, free: 26.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.3464, allocations: 1.358 MB / 445.3 MB, free: 26.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.3479, allocations: 333.4 kB / 445.7 MB, free: 26.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.3637, allocations: 10.64 MB / 456.3 MB, free: 18.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3649, allocations: 49.53 kB / 456.3 MB, free: 18.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.365, allocations: 64.81 kB / 456.4 MB, free: 18.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.365, allocations: 3.031 kB / 456.4 MB, free: 18.06 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/0.3683, allocations: 1.781 MB / 458.2 MB, free: 17.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3683, allocations: 7.844 kB / 458.2 MB, free: 17.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/0.3703, allocations: 499.2 kB / 458.7 MB, free: 16.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.3716, allocations: 368.1 kB / 459 MB, free: 16.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.3792, allocations: 11.02 MB / 470.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009477/0.3802, allocations: 41.19 kB / 470.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.3803, allocations: 55.94 kB / 470.2 MB, free: 6.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (161): * Single equations (assignments): 156 * 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 15,4 6,4 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005795/0.3809, allocations: 374.4 kB / 470.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.381, allocations: 117.1 kB / 470.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.3828, allocations: 1.065 MB / 471.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.3828, allocations: 11.97 kB / 471.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3828, allocations: 0 / 471.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.3831, allocations: 243.6 kB / 472 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3832, allocations: 31.88 kB / 472 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3836, allocations: 16.98 kB / 472 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3838, allocations: 80.83 kB / 472.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002258/0.386, allocations: 1.094 MB / 473.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001319/0.3874, allocations: 1.281 MB / 474.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003464/0.3877, allocations: 299.8 kB / 474.7 MB, free: 2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004687/0.3882, allocations: 492.9 kB / 475.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of Backend: time 7.51e-07/0.3882, allocations: 0 / 475.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005854/0.3941, allocations: 3.457 MB / 478.7 MB, free: 13.93 MB / 334.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: time 0.004008/0.3981, allocations: 3.215 MB / 481.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of Templates: time 0.03841/0.4365, allocations: 23.95 MB / 0.494 GB, free: 2.754 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.makefile Environment - environmentSimulation: (rm -f PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.sim & ./PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsPowerSwing.pipe 2>&1) Environment - environmentSimulation: