Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.001666/0.001666, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.43/1.43, allocations: 222.9 MB / 238.8 MB, free: 4.766 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.001488/0.001488, allocations: 188.5 kB / 289.1 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5013/0.5013, allocations: 78.52 MB / 417.8 MB, free: 3.395 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 75.88 kB / 496.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1507, allocations: 68.17 MB / 0.5518 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.2534/0.4042, allocations: 3.196 MB / 0.5549 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4059, allocations: 0.977 MB / 0.5559 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.406, allocations: 9.438 kB / 0.5559 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.4063, allocations: 88.66 kB / 0.556 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.4066, allocations: 125.7 kB / 0.5561 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.4074, allocations: 443.8 kB / 0.5565 GB, free: 37.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.4078, allocations: 0.5095 MB / 0.557 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.408, allocations: 81.09 kB / 0.5571 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.4082, allocations: 205.3 kB / 0.5573 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.4086, allocations: 280 kB / 0.5575 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.4086, allocations: 29.12 kB / 0.5576 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.4088, allocations: 79.84 kB / 0.5576 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.406e-05/0.4089, allocations: 100 kB / 0.5577 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.409, allocations: 218.8 kB / 0.5579 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.4095, allocations: 0.5674 MB / 0.5585 GB, free: 37.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4095, allocations: 3.469 kB / 0.5585 GB, free: 37.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4095, allocations: 0 / 0.5585 GB, free: 37.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4096, allocations: 0 / 0.5585 GB, free: 37.16 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.003127/0.4127, allocations: 1.146 MB / 0.5596 GB, free: 36.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.4127, allocations: 8.969 kB / 0.5596 GB, free: 36.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.525e-05/0.4128, allocations: 66.55 kB / 0.5597 GB, free: 36.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.4144, allocations: 270.7 kB / 0.56 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.4149, allocations: 427.1 kB / 0.5604 GB, free: 36.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.415, allocations: 96.62 kB / 0.5605 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.4151, allocations: 28.59 kB / 0.5605 GB, free: 36.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.4158, allocations: 407.1 kB / 0.5609 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4158, allocations: 2.844 kB / 0.5609 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.4159, allocations: 7.312 kB / 0.5609 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.4159, allocations: 9.219 kB / 0.5609 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.4166, allocations: 389.5 kB / 0.5613 GB, free: 36.21 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.4185, allocations: 1.133 MB / 0.5624 GB, free: 35.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/0.4248, allocations: 1.365 MB / 0.5637 GB, free: 35.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000556/0.4254, allocations: 284.9 kB / 0.564 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.588e-05/0.4255, allocations: 4.766 kB / 0.564 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4255, allocations: 44.53 kB / 0.564 GB, free: 35.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/0.4255, allocations: 1.219 kB / 0.564 GB, free: 35.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005815/0.4313, allocations: 1.98 MB / 0.566 GB, free: 35.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.4314, allocations: 58.31 kB / 0.566 GB, free: 35.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.4319, allocations: 426.2 kB / 0.5664 GB, free: 35.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.432, allocations: 29.64 kB / 0.5664 GB, free: 35.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.4321, allocations: 216.6 kB / 0.5667 GB, free: 35.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4322, allocations: 122.5 kB / 0.5668 GB, free: 35.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.4324, allocations: 58.31 kB / 0.5668 GB, free: 35.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.4324, allocations: 352.1 kB / 0.5672 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.4329, allocations: 242.5 kB / 0.5674 GB, free: 34.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.4333, allocations: 241.5 kB / 0.5676 GB, free: 34.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.4342, allocations: 0.5084 MB / 0.5681 GB, free: 34.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4342, allocations: 1.125 kB / 0.5681 GB, free: 34.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003995/0.4382, allocations: 1.365 MB / 0.5695 GB, free: 34.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4383, allocations: 9.188 kB / 0.5695 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4383, allocations: 0 / 0.5695 GB, free: 34.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/0.4415, allocations: 0.8882 MB / 0.5703 GB, free: 34.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.4417, allocations: 38.44 kB / 0.5704 GB, free: 34.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.4472, allocations: 3.115 MB / 0.5734 GB, free: 33.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/0.4478, allocations: 53.59 kB / 0.5735 GB, free: 33.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.4478, allocations: 9.406 kB / 0.5735 GB, free: 33.15 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 (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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4481, allocations: 155.9 kB / 0.5736 GB, free: 33.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.4481, allocations: 40.59 kB / 0.5737 GB, free: 33.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.4515, allocations: 1.236 MB / 0.5749 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4515, allocations: 2.344 kB / 0.5749 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4516, allocations: 3.438 kB / 0.5749 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4516, allocations: 3.141 kB / 0.5749 GB, free: 32.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.4521, allocations: 0.5462 MB / 0.5754 GB, free: 32.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4521, allocations: 0 / 0.5754 GB, free: 32.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.4524, allocations: 44.98 kB / 0.5754 GB, free: 32.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.4544, allocations: 0.6278 MB / 0.5761 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.4545, allocations: 9.844 kB / 0.5761 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/0.4579, allocations: 2.351 MB / 0.5784 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4579, allocations: 1.188 kB / 0.5784 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.4625, allocations: 1.607 MB / 0.5799 GB, free: 30.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4627, allocations: 134.8 kB / 0.5801 GB, free: 30.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.4628, allocations: 6.844 kB / 0.5801 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.4632, allocations: 31.95 kB / 0.5801 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.4635, allocations: 87.12 kB / 0.5802 GB, free: 30.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.4636, allocations: 5.656 kB / 0.5802 GB, free: 30.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003717/0.4639, allocations: 313.5 kB / 0.5805 GB, free: 30.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.4639, allocations: 0 / 0.5805 GB, free: 30.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.4646, allocations: 152.9 kB / 0.5806 GB, free: 30.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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 (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.004574/0.4692, allocations: 2.156 MB / 0.5827 GB, free: 29.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.4722, allocations: 1.124 MB / 0.5838 GB, free: 28.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4722, allocations: 0 / 0.5838 GB, free: 28.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.4739, allocations: 0.7361 MB / 0.5846 GB, free: 28.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.4745, allocations: 44.02 kB / 0.5846 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/0.4886, allocations: 6.253 MB / 0.5907 GB, free: 25.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.4891, allocations: 0.8147 MB / 0.5915 GB, free: 24.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.4893, allocations: 35.59 kB / 0.5915 GB, free: 24.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.4896, allocations: 139.6 kB / 0.5917 GB, free: 24.39 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4896, allocations: 0 / 0.5917 GB, free: 24.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.525, allocations: 11.8 MB / 0.6032 GB, free: 22.77 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.5252, allocations: 237.3 kB / 0.6034 GB, free: 22.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.581, allocations: 1.219 kB / 0.6034 GB, free: 22.52 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)