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.001141/0.001141, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.423/1.423, allocations: 223.3 MB / 239 MB, free: 5.586 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.000909/0.0009088, allocations: 187.8 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4888/0.4888, allocations: 78.56 MB / 419.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004114, allocations: 8 kB / 499.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 69.37 MB / 0.5559 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.264/0.3992, allocations: 2.443 MB / 0.5583 GB, free: 37.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.4005, allocations: 0.8417 MB / 0.5591 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.4006, allocations: 4.562 kB / 0.5591 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.4009, allocations: 68.89 kB / 0.5592 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.4011, allocations: 103.6 kB / 0.5593 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007351/0.4019, allocations: 362.8 kB / 0.5596 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.4022, allocations: 382 kB / 0.56 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.4024, allocations: 72.7 kB / 0.5601 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.4026, allocations: 144.3 kB / 0.5602 GB, free: 37.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.4029, allocations: 207 kB / 0.5604 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.4029, allocations: 18 kB / 0.5604 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.4031, allocations: 65.8 kB / 0.5605 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.4031, allocations: 69.86 kB / 0.5605 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.4032, allocations: 84.89 kB / 0.5606 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.4035, allocations: 365.6 kB / 0.561 GB, free: 37.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4035, allocations: 0.9062 kB / 0.561 GB, free: 37.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4036, allocations: 0 / 0.561 GB, free: 37.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4036, allocations: 0.8438 kB / 0.561 GB, free: 37.25 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.002498/0.4061, allocations: 0.9838 MB / 0.5619 GB, free: 36.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4061, allocations: 9.531 kB / 0.5619 GB, free: 36.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.209e-05/0.4062, allocations: 62.06 kB / 0.562 GB, free: 36.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.4077, allocations: 267.3 kB / 0.5623 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.4081, allocations: 335.1 kB / 0.5626 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.4082, allocations: 84.14 kB / 0.5627 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.4083, allocations: 22.66 kB / 0.5627 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.409, allocations: 394.8 kB / 0.5631 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4091, allocations: 0.6562 kB / 0.5631 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.4091, allocations: 13.3 kB / 0.5631 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.4091, allocations: 7.312 kB / 0.5631 GB, free: 36.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006924/0.4098, allocations: 385.5 kB / 0.5634 GB, free: 36.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.4115, allocations: 1.059 MB / 0.5645 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/0.4177, allocations: 1.824 MB / 0.5663 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.4183, allocations: 284.1 kB / 0.5665 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.4184, allocations: 3.656 kB / 0.5665 GB, free: 35.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4184, allocations: 38.22 kB / 0.5666 GB, free: 35.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 4.128e-06/0.4184, allocations: 0.6094 kB / 0.5666 GB, free: 35.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006179/0.4246, allocations: 2.388 MB / 0.5689 GB, free: 35.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.4247, allocations: 62.2 kB / 0.569 GB, free: 35.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.4251, allocations: 315.9 kB / 0.5693 GB, free: 35.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.4251, allocations: 33.36 kB / 0.5693 GB, free: 35.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4252, allocations: 184.8 kB / 0.5695 GB, free: 35.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4254, allocations: 108.3 kB / 0.5696 GB, free: 35.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.4254, allocations: 6.906 kB / 0.5696 GB, free: 35.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.4255, allocations: 345.5 kB / 0.5699 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/0.4259, allocations: 244.4 kB / 0.5701 GB, free: 34.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.4263, allocations: 244.6 kB / 0.5704 GB, free: 34.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.4268, allocations: 246.5 kB / 0.5706 GB, free: 34.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4268, allocations: 0 / 0.5706 GB, free: 34.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003681/0.4305, allocations: 1.504 MB / 0.5721 GB, free: 34.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4305, allocations: 6.281 kB / 0.5721 GB, free: 34.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4305, allocations: 3.938 kB / 0.5721 GB, free: 34.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.4334, allocations: 0.8836 MB / 0.5729 GB, free: 34.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.4336, allocations: 33.66 kB / 0.573 GB, free: 34.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/0.4386, allocations: 3.057 MB / 0.576 GB, free: 33.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.4392, allocations: 67.78 kB / 0.576 GB, free: 33.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4392, allocations: 8 kB / 0.576 GB, free: 33.16 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 (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.0002214/0.4394, allocations: 147.8 kB / 0.5762 GB, free: 33.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.4395, allocations: 33.62 kB / 0.5762 GB, free: 33.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.4434, allocations: 1.453 MB / 0.5776 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4435, allocations: 2.562 kB / 0.5776 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4435, allocations: 2.656 kB / 0.5776 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4435, allocations: 3.469 kB / 0.5776 GB, free: 32.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.444, allocations: 0.5157 MB / 0.5781 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.444, allocations: 0 / 0.5781 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.4442, allocations: 38.61 kB / 0.5782 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/0.4467, allocations: 0.795 MB / 0.579 GB, free: 32.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.4467, allocations: 5.5 kB / 0.579 GB, free: 32.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/0.4509, allocations: 2.643 MB / 0.5815 GB, free: 31.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4509, allocations: 0 / 0.5815 GB, free: 31.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.4554, allocations: 1.838 MB / 0.5833 GB, free: 30.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4556, allocations: 120.5 kB / 0.5835 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.4557, allocations: 6.281 kB / 0.5835 GB, free: 30.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4561, allocations: 58.34 kB / 0.5835 GB, free: 30.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.4563, allocations: 89.09 kB / 0.5836 GB, free: 30.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.4563, allocations: 4.844 kB / 0.5836 GB, free: 30.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.4566, allocations: 228.3 kB / 0.5838 GB, free: 30.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4566, allocations: 0 / 0.5838 GB, free: 30.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00058/0.4572, allocations: 143.9 kB / 0.584 GB, free: 30.45 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 (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.004643/0.4618, allocations: 2.381 MB / 0.5863 GB, free: 29.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.4643, allocations: 1.088 MB / 0.5873 GB, free: 28.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4643, allocations: 0 / 0.5873 GB, free: 28.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.466, allocations: 0.8048 MB / 0.5881 GB, free: 28.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.4664, allocations: 29.56 kB / 0.5882 GB, free: 28.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.4778, allocations: 3.814 MB / 0.5919 GB, free: 26.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4781, allocations: 0.7895 MB / 0.5927 GB, free: 26.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.4782, allocations: 33.47 kB / 0.5927 GB, free: 26.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4783, allocations: 105.1 kB / 0.5928 GB, free: 26.06 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4783, allocations: 0 / 0.5928 GB, free: 26.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.5089, allocations: 10.18 MB / 0.6027 GB, free: 25.6 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.5091, allocations: 223.3 kB / 0.6029 GB, free: 25.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.475, allocations: 0 / 0.6029 GB, free: 25.37 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/linux/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) Environment - environmentSimulation: