Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 91.92 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4507/0.4507, allocations: 78.09 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.26e-05, allocations: 4 kB / 491.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3772, allocations: 69.32 MB / 0.5481 GB, free: 20.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4945, allocations: 91.46 MB / 0.6374 GB, free: 9.113 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.4949, allocations: 79.89 kB / 0.6375 GB, free: 9.035 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02272/0.5176, allocations: 7.976 MB / 0.6453 GB, free: 1.004 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5176, allocations: 0 / 0.6453 GB, free: 1.004 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.5177, allocations: 8 kB / 0.6453 GB, free: 0.9961 MB / 458.7 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.00217/0.5199, allocations: 0.7686 MB / 0.646 GB, free: 188 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5199, allocations: 15.95 kB / 0.646 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.5201, allocations: 58.55 kB / 0.6461 GB, free: 104 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5212, allocations: 183.4 kB / 0.6463 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.5218, allocations: 327.9 kB / 0.6466 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.5219, allocations: 83.95 kB / 0.6467 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.522, allocations: 27.91 kB / 0.6467 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.5227, allocations: 317.2 kB / 0.647 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5227, allocations: 7.938 kB / 0.647 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.5227, allocations: 4 kB / 0.647 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5227, allocations: 8 kB / 0.647 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00058/0.5233, allocations: 310.1 kB / 0.6473 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.5255, allocations: 1.03 MB / 0.6483 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007325/0.5329, allocations: 1.714 MB / 0.65 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.5334, allocations: 208.8 kB / 0.6502 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.5336, allocations: 3.984 kB / 0.6502 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5336, allocations: 34.56 kB / 0.6502 GB, free: 11.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/0.5336, allocations: 4 kB / 0.6502 GB, free: 11.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.004032/0.5376, allocations: 1.163 MB / 0.6514 GB, free: 10.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.5377, allocations: 59.36 kB / 0.6514 GB, free: 10.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.5382, allocations: 278.8 kB / 0.6517 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.5383, allocations: 33.7 kB / 0.6517 GB, free: 10.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.5384, allocations: 192.4 kB / 0.6519 GB, free: 9.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.5386, allocations: 102.4 kB / 0.652 GB, free: 9.879 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.5386, allocations: 4 kB / 0.652 GB, free: 9.875 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5388, allocations: 346.8 kB / 0.6523 GB, free: 9.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.5391, allocations: 168.5 kB / 0.6525 GB, free: 9.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.5394, allocations: 161.1 kB / 0.6526 GB, free: 9.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.5397, allocations: 169.4 kB / 0.6528 GB, free: 9.039 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5397, allocations: 4 kB / 0.6528 GB, free: 9.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004019/0.5437, allocations: 1.262 MB / 0.654 GB, free: 7.758 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.5438, allocations: 11.98 kB / 0.654 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5438, allocations: 0 / 0.654 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/0.5469, allocations: 0.7284 MB / 0.6548 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.5471, allocations: 35.94 kB / 0.6548 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.552, allocations: 2.679 MB / 0.6574 GB, free: 4.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.5526, allocations: 67.66 kB / 0.6575 GB, free: 4.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.5526, allocations: 11.98 kB / 0.6575 GB, free: 4.09 MB / 474.7 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 () * 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 (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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5528, allocations: 120.9 kB / 0.6576 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.5529, allocations: 31.62 kB / 0.6576 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.5568, allocations: 1.222 MB / 0.6588 GB, free: 2.691 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5568, allocations: 4 kB / 0.6588 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5568, allocations: 4 kB / 0.6588 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5568, allocations: 4 kB / 0.6588 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.5574, allocations: 0.5164 MB / 0.6593 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5575, allocations: 0 / 0.6593 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.5577, allocations: 31.92 kB / 0.6594 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.5601, allocations: 0.6543 MB / 0.66 GB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.5602, allocations: 8 kB / 0.66 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.5638, allocations: 2.266 MB / 0.6622 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5638, allocations: 0 / 0.6622 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/0.5678, allocations: 1.524 MB / 0.6637 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.568, allocations: 120.5 kB / 0.6638 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.5681, allocations: 7.938 kB / 0.6638 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.5686, allocations: 51.98 kB / 0.6639 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.5688, allocations: 87.81 kB / 0.664 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.5688, allocations: 8 kB / 0.664 GB, free: 13.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.5691, allocations: 226.2 kB / 0.6642 GB, free: 12.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5691, allocations: 0 / 0.6642 GB, free: 12.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005461/0.5696, allocations: 151.8 kB / 0.6643 GB, free: 12.8 MB / 490.7 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 () * 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 (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.004367/0.574, allocations: 2.089 MB / 0.6664 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00212/0.5762, allocations: 0.9237 MB / 0.6673 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5762, allocations: 4 kB / 0.6673 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.5778, allocations: 0.7129 MB / 0.668 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.5781, allocations: 21.22 kB / 0.668 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/0.5843, allocations: 0.9439 MB / 0.6689 GB, free: 7.918 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.5848, allocations: 0.8109 MB / 0.6697 GB, free: 7.082 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.5849, allocations: 18.08 kB / 0.6697 GB, free: 7.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.5851, allocations: 111.4 kB / 0.6698 GB, free: 6.961 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5851, allocations: 0 / 0.6698 GB, free: 6.961 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/0.8819, allocations: 10.19 MB / 0.6798 GB, free: 118.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.8822, allocations: 204.4 kB / 0.68 GB, free: 118.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.096, allocations: 3.719 kB / 0.68 GB, free: 118.1 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)