Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.414/1.414, allocations: 222.9 MB / 239 MB, free: 4.73 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.001595/0.001595, allocations: 180.5 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5685/0.5685, allocations: 91.89 MB / 431.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 71.89 kB / 0.5015 GB, free: 7.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4486, allocations: 71.27 MB / 0.5711 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003595/0.4522, allocations: 2.954 MB / 0.574 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4536, allocations: 0.9005 MB / 0.5748 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.4538, allocations: 2.625 kB / 0.5749 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.4541, allocations: 78.39 kB / 0.5749 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.4544, allocations: 100.7 kB / 0.575 GB, free: 34.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.4552, allocations: 425.5 kB / 0.5754 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.4556, allocations: 421.7 kB / 0.5758 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.4558, allocations: 86.73 kB / 0.5759 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.456, allocations: 168.4 kB / 0.5761 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.4563, allocations: 229 kB / 0.5763 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.4563, allocations: 36.75 kB / 0.5763 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.4565, allocations: 87.53 kB / 0.5764 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.4565, allocations: 87.38 kB / 0.5765 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.4567, allocations: 193 kB / 0.5767 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.4571, allocations: 493.4 kB / 0.5771 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4572, allocations: 6.562 kB / 0.5772 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4572, allocations: 0.9062 kB / 0.5772 GB, free: 33.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4572, allocations: 0 / 0.5772 GB, free: 33.68 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.002737/0.4599, allocations: 1.02 MB / 0.5782 GB, free: 33.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.46, allocations: 14.81 kB / 0.5782 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.4601, allocations: 57.86 kB / 0.5782 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.4616, allocations: 262.5 kB / 0.5785 GB, free: 33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.462, allocations: 346.2 kB / 0.5788 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.4621, allocations: 88.56 kB / 0.5789 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.4621, allocations: 23.5 kB / 0.5789 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.4628, allocations: 371.9 kB / 0.5793 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4629, allocations: 4.516 kB / 0.5793 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.4629, allocations: 13.19 kB / 0.5793 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4629, allocations: 5.188 kB / 0.5793 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.4636, allocations: 358.6 kB / 0.5796 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.4654, allocations: 1.031 MB / 0.5806 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006257/0.4717, allocations: 1.352 MB / 0.582 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.4722, allocations: 264.4 kB / 0.5822 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.4723, allocations: 3.812 kB / 0.5822 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4723, allocations: 38.5 kB / 0.5822 GB, free: 31.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/0.4723, allocations: 1.844 kB / 0.5822 GB, free: 31.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=31): time 0.006384/0.4787, allocations: 1.985 MB / 0.5842 GB, free: 30.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.4788, allocations: 54.56 kB / 0.5842 GB, free: 30.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.4792, allocations: 321.8 kB / 0.5845 GB, free: 30.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.4792, allocations: 30.92 kB / 0.5846 GB, free: 30.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4794, allocations: 186.8 kB / 0.5848 GB, free: 30.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4795, allocations: 112.8 kB / 0.5849 GB, free: 30.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4796, allocations: 47.5 kB / 0.5849 GB, free: 30.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.4797, allocations: 350.5 kB / 0.5852 GB, free: 29.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.4802, allocations: 219.2 kB / 0.5854 GB, free: 29.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.4806, allocations: 221.3 kB / 0.5857 GB, free: 29.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.4815, allocations: 469.1 kB / 0.5861 GB, free: 29.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4815, allocations: 0 / 0.5861 GB, free: 29.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003997/0.4855, allocations: 1.257 MB / 0.5873 GB, free: 29.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4855, allocations: 5.156 kB / 0.5873 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4855, allocations: 1.25 kB / 0.5873 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.4886, allocations: 0.7565 MB / 0.5881 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4888, allocations: 31.34 kB / 0.5881 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005363/0.4942, allocations: 3.146 MB / 0.5912 GB, free: 26.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.4947, allocations: 46.05 kB / 0.5912 GB, free: 26.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.4948, allocations: 10 kB / 0.5912 GB, free: 26.84 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 (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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.495, allocations: 151.8 kB / 0.5914 GB, free: 26.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.4951, allocations: 35.62 kB / 0.5914 GB, free: 26.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.4989, allocations: 1.214 MB / 0.5926 GB, free: 26.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4989, allocations: 3.375 kB / 0.5926 GB, free: 26.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4989, allocations: 6.125 kB / 0.5926 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4989, allocations: 3.375 kB / 0.5926 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.4994, allocations: 0.5218 MB / 0.5931 GB, free: 25.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4994, allocations: 3.938 kB / 0.5931 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.4997, allocations: 35.64 kB / 0.5932 GB, free: 25.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00252/0.5022, allocations: 0.6746 MB / 0.5938 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.5022, allocations: 6.031 kB / 0.5938 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/0.5064, allocations: 2.684 MB / 0.5964 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5065, allocations: 0 / 0.5964 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.5108, allocations: 1.578 MB / 0.598 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.511, allocations: 117.9 kB / 0.5981 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.511, allocations: 7.016 kB / 0.5981 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004268/0.5115, allocations: 32.14 kB / 0.5981 GB, free: 23.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.5117, allocations: 82.02 kB / 0.5982 GB, free: 23.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.5118, allocations: 13.12 kB / 0.5982 GB, free: 23.17 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002593/0.5121, allocations: 232.2 kB / 0.5984 GB, free: 23.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.5121, allocations: 1.219 kB / 0.5985 GB, free: 23.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000716/0.5128, allocations: 145.5 kB / 0.5986 GB, free: 23.02 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 (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.004981/0.5178, allocations: 2.128 MB / 0.6007 GB, free: 21.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.5203, allocations: 0.9964 MB / 0.6016 GB, free: 21.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5203, allocations: 0 / 0.6016 GB, free: 21.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.5219, allocations: 0.7205 MB / 0.6023 GB, free: 20.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.5224, allocations: 25.8 kB / 0.6024 GB, free: 20.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.5397, allocations: 5.776 MB / 0.608 GB, free: 18.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.5401, allocations: 0.7874 MB / 0.6088 GB, free: 17.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.5402, allocations: 29.48 kB / 0.6088 GB, free: 17.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.5404, allocations: 113.2 kB / 0.6089 GB, free: 17.42 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5404, allocations: 0 / 0.6089 GB, free: 17.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04244/0.5829, allocations: 10.92 MB / 0.6196 GB, free: 12.48 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.5831, allocations: 253.2 kB / 0.6198 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.754, allocations: 0 / 0.6198 GB, free: 12.22 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)