Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.001275/0.001275, allocations: 95 kB / 15.05 MB, free: 1.109 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.273/1.273, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001037/0.001037, allocations: 173.1 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4304/0.4304, allocations: 79.45 MB / 420.7 MB, free: 3.977 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 16 kB / 0.4891 GB, free: 5.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3428, allocations: 69.5 MB / 0.557 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003458/0.3463, allocations: 2.526 MB / 0.5594 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3483, allocations: 0.916 MB / 0.5603 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.3485, allocations: 3.625 kB / 0.5603 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.3489, allocations: 76.23 kB / 0.5604 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3492, allocations: 140.6 kB / 0.5605 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.3501, allocations: 378.8 kB / 0.5609 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.3506, allocations: 316.6 kB / 0.5612 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3508, allocations: 87.83 kB / 0.5613 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.351, allocations: 178.6 kB / 0.5615 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.3513, allocations: 239.2 kB / 0.5617 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.3514, allocations: 23.94 kB / 0.5617 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3516, allocations: 65.88 kB / 0.5618 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.3517, allocations: 89.39 kB / 0.5619 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.3517, allocations: 93.23 kB / 0.5619 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.3522, allocations: 405.8 kB / 0.5623 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3522, allocations: 0 / 0.5623 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3522, allocations: 4.062 kB / 0.5623 GB, free: 37.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.3522, allocations: 0 / 0.5623 GB, free: 37.11 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003059/0.3553, allocations: 1.079 MB / 0.5634 GB, free: 36.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3553, allocations: 9.375 kB / 0.5634 GB, free: 36.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.105e-05/0.3554, allocations: 67.2 kB / 0.5635 GB, free: 36.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.357, allocations: 265.9 kB / 0.5637 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3574, allocations: 395.1 kB / 0.5641 GB, free: 36.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.3575, allocations: 90.7 kB / 0.5642 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3576, allocations: 23.38 kB / 0.5642 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.3583, allocations: 427.4 kB / 0.5646 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3583, allocations: 5.766 kB / 0.5646 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3583, allocations: 7.812 kB / 0.5646 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3583, allocations: 8.75 kB / 0.5646 GB, free: 36.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.359, allocations: 411.6 kB / 0.565 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3607, allocations: 1.119 MB / 0.5661 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006799/0.3675, allocations: 1.844 MB / 0.5679 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.3676, allocations: 3.516 kB / 0.5679 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3676, allocations: 36.48 kB / 0.568 GB, free: 35.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.825e-06/0.3677, allocations: 0 / 0.568 GB, free: 35.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006125/0.3738, allocations: 2.361 MB / 0.5703 GB, free: 35.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3738, allocations: 57.16 kB / 0.5703 GB, free: 35.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.3742, allocations: 398.9 kB / 0.5707 GB, free: 35.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3743, allocations: 32.55 kB / 0.5707 GB, free: 35.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.3744, allocations: 211.8 kB / 0.5709 GB, free: 34.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.3745, allocations: 121.8 kB / 0.571 GB, free: 34.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.3745, allocations: 3.875 kB / 0.571 GB, free: 34.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.3746, allocations: 354.1 kB / 0.5714 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.375, allocations: 252.4 kB / 0.5716 GB, free: 34.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.3755, allocations: 252.4 kB / 0.5719 GB, free: 34.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.3759, allocations: 265.5 kB / 0.5721 GB, free: 34.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3759, allocations: 3.562 kB / 0.5721 GB, free: 34.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003841/0.3798, allocations: 1.517 MB / 0.5736 GB, free: 34.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3798, allocations: 3.062 kB / 0.5736 GB, free: 34.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3798, allocations: 3.562 kB / 0.5736 GB, free: 34.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.3827, allocations: 0.8932 MB / 0.5745 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.383, allocations: 38.19 kB / 0.5745 GB, free: 34.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04068/0.4236, allocations: 3.143 MB / 0.5776 GB, free: 32.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.4244, allocations: 60.41 kB / 0.5776 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.4245, allocations: 15.44 kB / 0.5777 GB, free: 32.96 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.4247, allocations: 148.8 kB / 0.5778 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.4248, allocations: 43.16 kB / 0.5778 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.4285, allocations: 1.455 MB / 0.5793 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.4285, allocations: 3.719 kB / 0.5793 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4285, allocations: 2.938 kB / 0.5793 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4285, allocations: 3.422 kB / 0.5793 GB, free: 32.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.4291, allocations: 0.5269 MB / 0.5798 GB, free: 32.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4291, allocations: 2.375 kB / 0.5798 GB, free: 32.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4293, allocations: 48.86 kB / 0.5798 GB, free: 32.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.4317, allocations: 0.74 MB / 0.5806 GB, free: 31.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.4317, allocations: 5.094 kB / 0.5806 GB, free: 31.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003899/0.4356, allocations: 2.61 MB / 0.5831 GB, free: 30.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4356, allocations: 0 / 0.5831 GB, free: 30.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/0.44, allocations: 1.843 MB / 0.5849 GB, free: 29.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.4401, allocations: 125.6 kB / 0.585 GB, free: 29.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.4402, allocations: 6.031 kB / 0.585 GB, free: 29.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.4407, allocations: 47.16 kB / 0.5851 GB, free: 29.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.4409, allocations: 90.14 kB / 0.5852 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4409, allocations: 9.328 kB / 0.5852 GB, free: 29.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.4412, allocations: 293.6 kB / 0.5855 GB, free: 29.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.4412, allocations: 0 / 0.5855 GB, free: 29.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.4417, allocations: 144.2 kB / 0.5856 GB, free: 29.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004504/0.4462, allocations: 2.394 MB / 0.5879 GB, free: 28.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.4488, allocations: 1.179 MB / 0.5891 GB, free: 27.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4489, allocations: 1.156 kB / 0.5891 GB, free: 27.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.4505, allocations: 0.8057 MB / 0.5899 GB, free: 27.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.4507, allocations: 32.64 kB / 0.5899 GB, free: 27.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.4578, allocations: 3.909 MB / 0.5937 GB, free: 25.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.458, allocations: 0.8228 MB / 0.5945 GB, free: 24.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.4582, allocations: 33.3 kB / 0.5946 GB, free: 24.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.4583, allocations: 136.8 kB / 0.5947 GB, free: 24.58 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4583, allocations: 1.375 kB / 0.5947 GB, free: 24.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/0.6379, allocations: 10.83 MB / 0.6053 GB, free: 23.94 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.6381, allocations: 229.2 kB / 0.6055 GB, free: 23.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.03, allocations: 0 / 0.6055 GB, free: 23.7 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: