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.001063/0.001063, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.432/1.432, allocations: 223.2 MB / 239 MB, free: 5.453 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.001123/0.001123, allocations: 176.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.478/0.478, allocations: 78.55 MB / 419.9 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003751, allocations: 12 kB / 499.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 69.35 MB / 0.5559 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.2732/0.424, allocations: 2.678 MB / 0.5585 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4256, allocations: 0.921 MB / 0.5594 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.4257, allocations: 4.156 kB / 0.5594 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.426, allocations: 72.75 kB / 0.5595 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.4263, allocations: 133.8 kB / 0.5596 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.4271, allocations: 374 kB / 0.56 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.4276, allocations: 491.8 kB / 0.5604 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.4277, allocations: 76.97 kB / 0.5605 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.428, allocations: 188.9 kB / 0.5607 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.4283, allocations: 264.8 kB / 0.5609 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.4284, allocations: 24.03 kB / 0.561 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.4285, allocations: 82.2 kB / 0.561 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.4286, allocations: 85.81 kB / 0.5611 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.4287, allocations: 98.06 kB / 0.5612 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.429, allocations: 449.4 kB / 0.5616 GB, free: 36.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4291, allocations: 0 / 0.5616 GB, free: 36.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4291, allocations: 0 / 0.5616 GB, free: 36.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4291, allocations: 2.938 kB / 0.5617 GB, free: 36.93 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.00285/0.4319, allocations: 1.108 MB / 0.5627 GB, free: 36.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.432, allocations: 7.781 kB / 0.5627 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.4321, allocations: 66.75 kB / 0.5628 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.4336, allocations: 273.9 kB / 0.5631 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.4341, allocations: 405.2 kB / 0.5635 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4342, allocations: 90.22 kB / 0.5635 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.4342, allocations: 27.28 kB / 0.5636 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007738/0.435, allocations: 430 kB / 0.564 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4351, allocations: 0.5156 kB / 0.564 GB, free: 36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.4351, allocations: 15.36 kB / 0.564 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4351, allocations: 11.55 kB / 0.564 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/0.4358, allocations: 420.6 kB / 0.5644 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.4376, allocations: 1.148 MB / 0.5655 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/0.4436, allocations: 1.848 MB / 0.5673 GB, free: 35.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.4442, allocations: 303.5 kB / 0.5676 GB, free: 35.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.4442, allocations: 7.594 kB / 0.5676 GB, free: 35.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.4443, allocations: 34.5 kB / 0.5677 GB, free: 35.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 3.646e-06/0.4443, allocations: 0 / 0.5677 GB, free: 35.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005783/0.4501, allocations: 2.391 MB / 0.57 GB, free: 35.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.4501, allocations: 57.83 kB / 0.57 GB, free: 35.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.4506, allocations: 414.4 kB / 0.5704 GB, free: 34.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4506, allocations: 36.39 kB / 0.5705 GB, free: 34.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4508, allocations: 216.6 kB / 0.5707 GB, free: 34.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4509, allocations: 121.8 kB / 0.5708 GB, free: 34.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.4509, allocations: 5.938 kB / 0.5708 GB, free: 34.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.451, allocations: 354.3 kB / 0.5711 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/0.4514, allocations: 261 kB / 0.5714 GB, free: 34.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.4519, allocations: 271.9 kB / 0.5717 GB, free: 34.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.4524, allocations: 269.3 kB / 0.5719 GB, free: 34.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4524, allocations: 0 / 0.5719 GB, free: 34.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00399/0.4564, allocations: 1.614 MB / 0.5735 GB, free: 34.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4564, allocations: 9.453 kB / 0.5735 GB, free: 34.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4564, allocations: 0.5625 kB / 0.5735 GB, free: 34.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.4596, allocations: 1.003 MB / 0.5745 GB, free: 34.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.4598, allocations: 41.88 kB / 0.5745 GB, free: 34.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.4652, allocations: 3.29 MB / 0.5777 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.4658, allocations: 69.31 kB / 0.5778 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4658, allocations: 9.938 kB / 0.5778 GB, free: 32.72 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 {8 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.4661, allocations: 151.2 kB / 0.5779 GB, free: 32.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.4661, allocations: 42.61 kB / 0.578 GB, free: 32.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/0.4696, allocations: 1.469 MB / 0.5794 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4697, allocations: 3.469 kB / 0.5794 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4697, allocations: 1.844 kB / 0.5794 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.4697, allocations: 4.641 kB / 0.5794 GB, free: 32.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.4703, allocations: 0.5569 MB / 0.58 GB, free: 32.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4703, allocations: 5.844 kB / 0.58 GB, free: 32.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.4706, allocations: 39.3 kB / 0.58 GB, free: 32.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.4729, allocations: 0.7503 MB / 0.5808 GB, free: 32.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.473, allocations: 9.969 kB / 0.5808 GB, free: 32.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/0.4768, allocations: 2.523 MB / 0.5832 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4768, allocations: 0 / 0.5832 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/0.4813, allocations: 1.868 MB / 0.585 GB, free: 29.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/0.4816, allocations: 128.9 kB / 0.5852 GB, free: 29.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.9e-05/0.4817, allocations: 9.906 kB / 0.5852 GB, free: 29.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.4822, allocations: 48.89 kB / 0.5852 GB, free: 29.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.4824, allocations: 88.53 kB / 0.5853 GB, free: 29.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.4825, allocations: 10.44 kB / 0.5853 GB, free: 29.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004446/0.4829, allocations: 302.4 kB / 0.5856 GB, free: 29.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4829, allocations: 0 / 0.5856 GB, free: 29.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00101/0.484, allocations: 151 kB / 0.5858 GB, free: 29.49 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 (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.004676/0.4887, allocations: 2.428 MB / 0.5881 GB, free: 28.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002805/0.4915, allocations: 1.212 MB / 0.5893 GB, free: 27.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4915, allocations: 3.938 kB / 0.5893 GB, free: 27.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.4932, allocations: 0.8259 MB / 0.5901 GB, free: 27.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4937, allocations: 36.52 kB / 0.5902 GB, free: 27.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008482/0.5022, allocations: 4.247 MB / 0.5943 GB, free: 25.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5025, allocations: 0.826 MB / 0.5951 GB, free: 24.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.5026, allocations: 30.53 kB / 0.5951 GB, free: 24.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.5029, allocations: 142.5 kB / 0.5953 GB, free: 24.58 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5029, allocations: 0 / 0.5953 GB, free: 24.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.5382, allocations: 11.54 MB / 0.6065 GB, free: 23.37 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.5385, allocations: 231.8 kB / 0.6068 GB, free: 23.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.468, allocations: 0 / 0.6068 GB, free: 23.13 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/linux/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) Environment - environmentSimulation: