Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, 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/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239 MB, free: 4.73 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.001153/0.001153, allocations: 184.5 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4211/0.4211, allocations: 78.53 MB / 417.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 75.88 kB / 497 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 68.17 MB / 0.552 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.2193/0.3433, allocations: 2.932 MB / 0.5548 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3449, allocations: 0.9039 MB / 0.5557 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002896/0.3452, allocations: 3.625 kB / 0.5557 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.3455, allocations: 75.39 kB / 0.5558 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.3459, allocations: 97.36 kB / 0.5559 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.3468, allocations: 422.1 kB / 0.5563 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.3472, allocations: 421.7 kB / 0.5567 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3474, allocations: 87.52 kB / 0.5568 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3476, allocations: 173.1 kB / 0.5569 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.3479, allocations: 226.5 kB / 0.5571 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.348, allocations: 32.72 kB / 0.5572 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3482, allocations: 97.31 kB / 0.5573 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.3482, allocations: 80.36 kB / 0.5573 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.3484, allocations: 194.6 kB / 0.5575 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.3488, allocations: 0.4904 MB / 0.558 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3488, allocations: 0 / 0.558 GB, free: 37.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3489, allocations: 2.406 kB / 0.558 GB, free: 37.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.3489, allocations: 0.875 kB / 0.558 GB, free: 37.39 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002705/0.3516, allocations: 1.01 MB / 0.559 GB, free: 36.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3516, allocations: 12.69 kB / 0.559 GB, free: 36.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.3517, allocations: 60.8 kB / 0.5591 GB, free: 36.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.3533, allocations: 260.6 kB / 0.5593 GB, free: 36.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3536, allocations: 349.8 kB / 0.5597 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/0.3537, allocations: 89.12 kB / 0.5597 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.3538, allocations: 22.81 kB / 0.5598 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.3545, allocations: 371.1 kB / 0.5601 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3545, allocations: 0.9375 kB / 0.5601 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.3545, allocations: 5.375 kB / 0.5601 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3545, allocations: 7.766 kB / 0.5601 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.3552, allocations: 364.8 kB / 0.5605 GB, free: 36.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3568, allocations: 1.032 MB / 0.5615 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006192/0.363, allocations: 1.358 MB / 0.5628 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004525/0.3635, allocations: 258.2 kB / 0.5631 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.3635, allocations: 4.281 kB / 0.5631 GB, free: 36.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.3636, allocations: 47.88 kB / 0.5631 GB, free: 36.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/0.3636, allocations: 0.5625 kB / 0.5631 GB, free: 36.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.005781/0.3694, allocations: 1.979 MB / 0.565 GB, free: 35.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.3694, allocations: 54.16 kB / 0.5651 GB, free: 35.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3697, allocations: 311.2 kB / 0.5654 GB, free: 35.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3697, allocations: 36.33 kB / 0.5654 GB, free: 35.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.3698, allocations: 188.2 kB / 0.5656 GB, free: 35.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.3699, allocations: 109.2 kB / 0.5657 GB, free: 35.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.37, allocations: 51.03 kB / 0.5658 GB, free: 35.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.3701, allocations: 352.5 kB / 0.5661 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.3705, allocations: 224.4 kB / 0.5663 GB, free: 35.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.3709, allocations: 220.9 kB / 0.5665 GB, free: 35.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.3717, allocations: 472.4 kB / 0.567 GB, free: 35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3717, allocations: 0 / 0.567 GB, free: 35 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003583/0.3753, allocations: 1.25 MB / 0.5682 GB, free: 34.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3753, allocations: 5.5 kB / 0.5682 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3753, allocations: 0 / 0.5682 GB, free: 34.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.3781, allocations: 0.7633 MB / 0.5689 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3783, allocations: 28.48 kB / 0.569 GB, free: 34.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004707/0.383, allocations: 3.145 MB / 0.572 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.3835, allocations: 46.91 kB / 0.5721 GB, free: 33.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3835, allocations: 9.656 kB / 0.5721 GB, free: 33.4 MB / 430.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.0001447/0.3837, allocations: 144.8 kB / 0.5722 GB, free: 33.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3837, allocations: 43.14 kB / 0.5723 GB, free: 33.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.3871, allocations: 1.209 MB / 0.5734 GB, free: 33.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3872, allocations: 6.594 kB / 0.5735 GB, free: 33.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3872, allocations: 5.5 kB / 0.5735 GB, free: 33.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3872, allocations: 3.422 kB / 0.5735 GB, free: 33.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.3876, allocations: 0.5158 MB / 0.574 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3876, allocations: 3.938 kB / 0.574 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.3878, allocations: 32.78 kB / 0.574 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.3901, allocations: 0.6796 MB / 0.5747 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.3901, allocations: 5.969 kB / 0.5747 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.3938, allocations: 2.681 MB / 0.5773 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3938, allocations: 0 / 0.5773 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/0.3978, allocations: 1.584 MB / 0.5788 GB, free: 31.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.3979, allocations: 117.2 kB / 0.5789 GB, free: 30.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.398, allocations: 9.906 kB / 0.579 GB, free: 30.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.3984, allocations: 35.91 kB / 0.579 GB, free: 30.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.3986, allocations: 85.34 kB / 0.5791 GB, free: 30.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.3987, allocations: 4.812 kB / 0.5791 GB, free: 30.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.3989, allocations: 231.7 kB / 0.5793 GB, free: 30.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3989, allocations: 0 / 0.5793 GB, free: 30.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000489/0.3994, allocations: 137.6 kB / 0.5794 GB, free: 30.78 MB / 430.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.004279/0.4037, allocations: 2.128 MB / 0.5815 GB, free: 29.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.4059, allocations: 1.003 MB / 0.5825 GB, free: 29.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4059, allocations: 1.875 kB / 0.5825 GB, free: 29.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.4074, allocations: 0.7069 MB / 0.5832 GB, free: 28.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4078, allocations: 30.34 kB / 0.5832 GB, free: 28.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.4231, allocations: 5.776 MB / 0.5888 GB, free: 26.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.4233, allocations: 0.7877 MB / 0.5896 GB, free: 25.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.537e-05/0.4234, allocations: 21.92 kB / 0.5896 GB, free: 25.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4236, allocations: 111 kB / 0.5897 GB, free: 25.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4236, allocations: 4 kB / 0.5897 GB, free: 25.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.4504, allocations: 10.93 MB / 0.6004 GB, free: 24.37 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001254/0.4506, allocations: 239.2 kB / 0.6007 GB, free: 24.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.386, allocations: 1.156 kB / 0.6007 GB, free: 24.12 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)