Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 238.8 MB, free: 4.777 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001269, allocations: 188.5 kB / 289.1 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5114/0.5114, allocations: 78.53 MB / 417.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 75.89 kB / 496.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1474, allocations: 68.17 MB / 0.5518 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2672/0.4146, allocations: 6.131 MB / 0.5578 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.4176, allocations: 1.793 MB / 0.5595 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.418, allocations: 13.94 kB / 0.5595 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.4185, allocations: 161.7 kB / 0.5597 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.4198, allocations: 0.6091 MB / 0.5603 GB, free: 35.68 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.4208, allocations: 0.5253 MB / 0.5608 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009755/0.4218, allocations: 1.194 MB / 0.562 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.4221, allocations: 246.5 kB / 0.5622 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.4225, allocations: 488.9 kB / 0.5627 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.423, allocations: 0.6131 MB / 0.5633 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.773e-05/0.4231, allocations: 56.88 kB / 0.5633 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003426/0.4235, allocations: 190.3 kB / 0.5635 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.4237, allocations: 214.9 kB / 0.5637 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.424, allocations: 0.5165 MB / 0.5642 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009398/0.425, allocations: 1.309 MB / 0.5655 GB, free: 34.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.425, allocations: 0 / 0.5655 GB, free: 34.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.425, allocations: 4.938 kB / 0.5655 GB, free: 34.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.425, allocations: 0 / 0.5655 GB, free: 34.65 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006782/0.4318, allocations: 2.347 MB / 0.5678 GB, free: 33.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4318, allocations: 11.62 kB / 0.5678 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.432, allocations: 118.7 kB / 0.5679 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.4366, allocations: 0.7617 MB / 0.5687 GB, free: 33.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008909/0.4375, allocations: 0.7064 MB / 0.5693 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.4377, allocations: 255 kB / 0.5696 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.4378, allocations: 66.59 kB / 0.5696 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.4396, allocations: 0.9624 MB / 0.5706 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4397, allocations: 0 / 0.5706 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/0.4397, allocations: 24.53 kB / 0.5706 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4398, allocations: 16.72 kB / 0.5706 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.4416, allocations: 0.978 MB / 0.5716 GB, free: 33.09 MB / 430.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.004744/0.4464, allocations: 3.184 MB / 0.5747 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.4481, allocations: 1.307 MB / 0.576 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.4492, allocations: 0.7037 MB / 0.5767 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.97e-05/0.4493, allocations: 15.36 kB / 0.5767 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4494, allocations: 42.31 kB / 0.5767 GB, free: 31.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.4494, allocations: 0 / 0.5767 GB, free: 31.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02339/0.4728, allocations: 6.476 MB / 0.583 GB, free: 30.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4729, allocations: 65.34 kB / 0.5831 GB, free: 30.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.474, allocations: 0.7894 MB / 0.5839 GB, free: 29.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.4741, allocations: 45.92 kB / 0.5839 GB, free: 29.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.4744, allocations: 438.4 kB / 0.5843 GB, free: 29.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.4747, allocations: 296.5 kB / 0.5846 GB, free: 29.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.4751, allocations: 190.5 kB / 0.5848 GB, free: 29.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.4751, allocations: 344 kB / 0.5851 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.4765, allocations: 0.6612 MB / 0.5858 GB, free: 28.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.4785, allocations: 0.7887 MB / 0.5865 GB, free: 28.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02765/0.5061, allocations: 4.52 MB / 0.591 GB, free: 26.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.5062, allocations: 4 kB / 0.591 GB, free: 26.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.02047/0.5267, allocations: 4.071 MB / 0.5949 GB, free: 25.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.5268, allocations: 5.031 kB / 0.5949 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.5268, allocations: 4.609 kB / 0.5949 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008238/0.535, allocations: 1.737 MB / 0.5966 GB, free: 25.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.5362, allocations: 192.5 kB / 0.5968 GB, free: 25.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/0.5569, allocations: 8.324 MB / 0.605 GB, free: 21.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.5585, allocations: 151.4 kB / 0.6051 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5586, allocations: 41.12 kB / 0.6051 GB, free: 21.66 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004736/0.5591, allocations: 224.8 kB / 0.6053 GB, free: 21.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.5593, allocations: 106.6 kB / 0.6054 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/0.5718, allocations: 3.815 MB / 0.6092 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.5719, allocations: 7.469 kB / 0.6092 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5719, allocations: 0.75 kB / 0.6092 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.5719, allocations: 13.59 kB / 0.6092 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.5851, allocations: 5.378 MB / 0.6144 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.5851, allocations: 4 kB / 0.6145 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.5856, allocations: 87.89 kB / 0.6145 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005101/0.5907, allocations: 1.741 MB / 0.6162 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.5909, allocations: 17.78 kB / 0.6163 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.6054, allocations: 7.344 MB / 0.6234 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6055, allocations: 0.8594 kB / 0.6234 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.6183, allocations: 4.744 MB / 0.6281 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.6187, allocations: 187.6 kB / 0.6282 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.6189, allocations: 12 kB / 0.6282 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/0.6197, allocations: 95.89 kB / 0.6283 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/0.6203, allocations: 196.6 kB / 0.6285 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.6204, allocations: 20 kB / 0.6285 GB, free: 256 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006335/0.6211, allocations: 0.5303 MB / 0.6291 GB, free: 15.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6211, allocations: 0 / 0.6291 GB, free: 15.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001369/0.6224, allocations: 408.9 kB / 0.6295 GB, free: 15.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/0.637, allocations: 5.307 MB / 0.6346 GB, free: 9.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006325/0.6434, allocations: 2.273 MB / 0.6369 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6434, allocations: 4 kB / 0.6369 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.6478, allocations: 1.468 MB / 0.6383 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.6488, allocations: 82.91 kB / 0.6384 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/0.6845, allocations: 14.94 MB / 0.653 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.6853, allocations: 1.033 MB / 0.654 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004759/0.6857, allocations: 80.28 kB / 0.654 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.6863, allocations: 375.2 kB / 0.6544 GB, free: 5.387 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6863, allocations: 4 kB / 0.6544 GB, free: 5.383 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05119/0.7375, allocations: 28.21 MB / 0.682 GB, free: 9.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.7377, allocations: 205.7 kB / 0.6822 GB, free: 9.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.432, allocations: 0 / 0.6822 GB, free: 9.25 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)