Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08446/0.08446, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 119.4 kB / 30.84 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 239.3 MB, free: 11.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 188.5 kB / 289.5 MB, free: 15.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4568/0.4568, allocations: 78.51 MB / 418 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous 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: 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: OpenIPSL 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: Performance of FrontEnd - loaded program: time 0.002798/0.002799, allocations: 132.7 kB / 498.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3659, allocations: 68.03 MB / 0.5531 GB, free: 37.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003283/0.3693, allocations: 2.945 MB / 0.5559 GB, free: 35.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3705, allocations: 0.9536 MB / 0.5569 GB, free: 34.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3707, allocations: 6.312 kB / 0.5569 GB, free: 34.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3709, allocations: 70.45 kB / 0.5569 GB, free: 34.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.3711, allocations: 100.3 kB / 0.557 GB, free: 34.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.3719, allocations: 432.8 kB / 0.5575 GB, free: 34.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3721, allocations: 408.6 kB / 0.5578 GB, free: 34.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3723, allocations: 75.09 kB / 0.5579 GB, free: 34.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3724, allocations: 162.3 kB / 0.5581 GB, free: 34.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3726, allocations: 216.6 kB / 0.5583 GB, free: 34.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.3727, allocations: 20.41 kB / 0.5583 GB, free: 34.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3728, allocations: 71.81 kB / 0.5584 GB, free: 34.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.3729, allocations: 75.55 kB / 0.5584 GB, free: 34.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.373, allocations: 173.8 kB / 0.5586 GB, free: 33.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.3734, allocations: 488.5 kB / 0.5591 GB, free: 33.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3734, allocations: 0 / 0.5591 GB, free: 33.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.3734, allocations: 0 / 0.5591 GB, free: 33.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3734, allocations: 0 / 0.5591 GB, free: 33.74 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002702/0.3761, allocations: 1.017 MB / 0.5601 GB, free: 33.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3762, allocations: 15.98 kB / 0.5601 GB, free: 33.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.3762, allocations: 61.89 kB / 0.5601 GB, free: 33.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.3778, allocations: 260.3 kB / 0.5604 GB, free: 33.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3782, allocations: 352.9 kB / 0.5607 GB, free: 32.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.565e-05/0.3783, allocations: 91.41 kB / 0.5608 GB, free: 32.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.3784, allocations: 24.56 kB / 0.5608 GB, free: 32.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.3791, allocations: 371.7 kB / 0.5612 GB, free: 32.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3791, allocations: 0 / 0.5612 GB, free: 32.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3791, allocations: 7.062 kB / 0.5612 GB, free: 32.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3791, allocations: 5.688 kB / 0.5612 GB, free: 32.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.3798, allocations: 363.5 kB / 0.5615 GB, free: 32.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.3815, allocations: 1.027 MB / 0.5626 GB, free: 31.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/0.3879, allocations: 1.356 MB / 0.5639 GB, free: 31.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.3884, allocations: 265 kB / 0.5641 GB, free: 31.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.3884, allocations: 6.734 kB / 0.5641 GB, free: 31.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.3884, allocations: 37.53 kB / 0.5642 GB, free: 31.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.3885, allocations: 0 / 0.5642 GB, free: 31.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.006228/0.3947, allocations: 1.989 MB / 0.5661 GB, free: 30.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.3947, allocations: 54 kB / 0.5662 GB, free: 30.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.3951, allocations: 319.5 kB / 0.5665 GB, free: 30.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3951, allocations: 29.7 kB / 0.5665 GB, free: 30.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3952, allocations: 187.8 kB / 0.5667 GB, free: 30.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.744e-05/0.3953, allocations: 109.1 kB / 0.5668 GB, free: 30.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3955, allocations: 47.86 kB / 0.5668 GB, free: 30.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.3956, allocations: 353 kB / 0.5672 GB, free: 29.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.396, allocations: 223.8 kB / 0.5674 GB, free: 29.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.3964, allocations: 222.6 kB / 0.5676 GB, free: 29.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.3972, allocations: 464.3 kB / 0.568 GB, free: 29.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3972, allocations: 4 kB / 0.568 GB, free: 29.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003747/0.401, allocations: 1.255 MB / 0.5693 GB, free: 29.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.401, allocations: 5.469 kB / 0.5693 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.401, allocations: 0 / 0.5693 GB, free: 29.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00289/0.4039, allocations: 0.7603 MB / 0.57 GB, free: 28.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4041, allocations: 25.75 kB / 0.57 GB, free: 28.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.4091, allocations: 2.886 MB / 0.5729 GB, free: 27.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.4097, allocations: 50.75 kB / 0.5729 GB, free: 27.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.4097, allocations: 11.12 kB / 0.5729 GB, free: 27.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.4099, allocations: 145.7 kB / 0.5731 GB, free: 26.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.41, allocations: 40.89 kB / 0.5731 GB, free: 26.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.4143, allocations: 1.21 MB / 0.5743 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.4143, allocations: 3.406 kB / 0.5743 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4143, allocations: 2.797 kB / 0.5743 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4144, allocations: 6.203 kB / 0.5743 GB, free: 26.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.4151, allocations: 0.5183 MB / 0.5748 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4151, allocations: 4.453 kB / 0.5748 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.4153, allocations: 28.88 kB / 0.5748 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.4179, allocations: 0.6693 MB / 0.5755 GB, free: 26.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.418, allocations: 9.953 kB / 0.5755 GB, free: 26.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/0.422, allocations: 2.467 MB / 0.5779 GB, free: 24.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4221, allocations: 4 kB / 0.5779 GB, free: 24.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.4266, allocations: 1.58 MB / 0.5794 GB, free: 23.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.4268, allocations: 118 kB / 0.5796 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.4268, allocations: 10.69 kB / 0.5796 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.4273, allocations: 35.69 kB / 0.5796 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.4275, allocations: 80.38 kB / 0.5797 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.4276, allocations: 9.5 kB / 0.5797 GB, free: 23.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002584/0.4278, allocations: 229.7 kB / 0.5799 GB, free: 23.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.4278, allocations: 0 / 0.5799 GB, free: 23.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005971/0.4285, allocations: 144.8 kB / 0.58 GB, free: 23.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00505/0.4335, allocations: 2.128 MB / 0.5821 GB, free: 22.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.436, allocations: 0.9832 MB / 0.5831 GB, free: 21.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.436, allocations: 0 / 0.5831 GB, free: 21.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.4377, allocations: 0.7137 MB / 0.5838 GB, free: 21.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.4382, allocations: 34.83 kB / 0.5838 GB, free: 21.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.4559, allocations: 5.766 MB / 0.5894 GB, free: 18.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.4562, allocations: 0.794 MB / 0.5902 GB, free: 17.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4563, allocations: 22.28 kB / 0.5902 GB, free: 17.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4565, allocations: 112.9 kB / 0.5903 GB, free: 17.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4565, allocations: 0 / 0.5903 GB, free: 17.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.641/2.098, allocations: 10.47 MB / 0.6006 GB, free: 9.531 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/2.098, allocations: 260.8 kB / 0.6008 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/4.789, allocations: 4 kB / 0.6008 GB, free: 9.262 MB / 414.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)