Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.0009325/0.0009325, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.352/1.352, allocations: 223.2 MB / 239 MB, free: 5.438 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.001303/0.001303, allocations: 184.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4667/0.4667, allocations: 79.48 MB / 420.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004271, allocations: 12 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4087, allocations: 69.51 MB / 0.5571 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002688/0.4114, allocations: 2.628 MB / 0.5597 GB, free: 37.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.4127, allocations: 0.8963 MB / 0.5605 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.4128, allocations: 4.188 kB / 0.5605 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.4131, allocations: 74.19 kB / 0.5606 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.4134, allocations: 125.9 kB / 0.5607 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.4142, allocations: 371.7 kB / 0.5611 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.4146, allocations: 466.1 kB / 0.5615 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.4149, allocations: 76.5 kB / 0.5616 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.4152, allocations: 181.5 kB / 0.5618 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/0.4157, allocations: 247.4 kB / 0.562 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.4158, allocations: 27.28 kB / 0.562 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.4161, allocations: 76.22 kB / 0.5621 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.4162, allocations: 86 kB / 0.5622 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4163, allocations: 92.36 kB / 0.5623 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.4168, allocations: 431 kB / 0.5627 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4169, allocations: 0 / 0.5627 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4169, allocations: 2.094 kB / 0.5627 GB, free: 36.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.4169, allocations: 0 / 0.5627 GB, free: 36.99 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.003019/0.4199, allocations: 1.073 MB / 0.5637 GB, free: 36.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.42, allocations: 9.812 kB / 0.5638 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4201, allocations: 65.56 kB / 0.5638 GB, free: 36.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.4217, allocations: 266 kB / 0.5641 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.4222, allocations: 397.8 kB / 0.5644 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4223, allocations: 90.55 kB / 0.5645 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.4224, allocations: 25.16 kB / 0.5646 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.4232, allocations: 425.9 kB / 0.565 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4232, allocations: 3.953 kB / 0.565 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4232, allocations: 9.875 kB / 0.565 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.4232, allocations: 6.531 kB / 0.565 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006957/0.4239, allocations: 414.7 kB / 0.5654 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.4258, allocations: 1.114 MB / 0.5665 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/0.4315, allocations: 1.847 MB / 0.5683 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.432, allocations: 302 kB / 0.5686 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.4321, allocations: 4.188 kB / 0.5686 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.4321, allocations: 40.67 kB / 0.5686 GB, free: 35.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.323e-06/0.4321, allocations: 1.875 kB / 0.5686 GB, free: 35.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005451/0.4376, allocations: 2.368 MB / 0.5709 GB, free: 35.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.4376, allocations: 54.31 kB / 0.571 GB, free: 35.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.4381, allocations: 395.6 kB / 0.5713 GB, free: 35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.4381, allocations: 36.52 kB / 0.5714 GB, free: 34.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4383, allocations: 203 kB / 0.5716 GB, free: 34.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4384, allocations: 122.3 kB / 0.5717 GB, free: 34.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.4384, allocations: 10.66 kB / 0.5717 GB, free: 34.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4385, allocations: 350.9 kB / 0.572 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.439, allocations: 250.9 kB / 0.5723 GB, free: 34.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4394, allocations: 257.2 kB / 0.5725 GB, free: 34.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.4399, allocations: 269.9 kB / 0.5728 GB, free: 34.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4399, allocations: 0 / 0.5728 GB, free: 34.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003591/0.4435, allocations: 1.519 MB / 0.5743 GB, free: 34.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4436, allocations: 5.812 kB / 0.5743 GB, free: 34.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4436, allocations: 0 / 0.5743 GB, free: 34.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.4463, allocations: 0.8823 MB / 0.5751 GB, free: 34.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.4465, allocations: 41.62 kB / 0.5752 GB, free: 34.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.4514, allocations: 3.041 MB / 0.5781 GB, free: 32.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.4518, allocations: 63.19 kB / 0.5782 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.4519, allocations: 9.344 kB / 0.5782 GB, free: 32.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 (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 {7 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.4521, allocations: 147.3 kB / 0.5783 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.4522, allocations: 40.58 kB / 0.5784 GB, free: 32.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.4555, allocations: 1.458 MB / 0.5798 GB, free: 32.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4555, allocations: 4.156 kB / 0.5798 GB, free: 32.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4555, allocations: 2.438 kB / 0.5798 GB, free: 32.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4555, allocations: 4 kB / 0.5798 GB, free: 32.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.4561, allocations: 0.536 MB / 0.5803 GB, free: 32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4561, allocations: 5.203 kB / 0.5803 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.4564, allocations: 37.92 kB / 0.5804 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/0.4585, allocations: 0.743 MB / 0.5811 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.4585, allocations: 7.844 kB / 0.5811 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003423/0.4619, allocations: 2.528 MB / 0.5836 GB, free: 30.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4619, allocations: 2.5 kB / 0.5836 GB, free: 30.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.4659, allocations: 1.836 MB / 0.5854 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-05/0.466, allocations: 123.1 kB / 0.5855 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.4661, allocations: 6.438 kB / 0.5855 GB, free: 29.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.4664, allocations: 47.2 kB / 0.5856 GB, free: 29.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.4667, allocations: 89.48 kB / 0.5856 GB, free: 29.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4667, allocations: 10.47 kB / 0.5856 GB, free: 29.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.467, allocations: 286.9 kB / 0.5859 GB, free: 29.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.467, allocations: 3.938 kB / 0.5859 GB, free: 29.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.4675, allocations: 140.9 kB / 0.5861 GB, free: 29.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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.004162/0.4717, allocations: 2.397 MB / 0.5884 GB, free: 28.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.4742, allocations: 1.19 MB / 0.5896 GB, free: 27.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4742, allocations: 0 / 0.5896 GB, free: 27.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.4756, allocations: 0.8122 MB / 0.5904 GB, free: 27.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.476, allocations: 32.3 kB / 0.5904 GB, free: 27.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.4837, allocations: 3.907 MB / 0.5942 GB, free: 25.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.484, allocations: 0.8191 MB / 0.595 GB, free: 24.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.4842, allocations: 29.3 kB / 0.595 GB, free: 24.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4844, allocations: 134.1 kB / 0.5952 GB, free: 24.5 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4844, allocations: 5.375 kB / 0.5952 GB, free: 24.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8573/1.342, allocations: 10.85 MB / 0.6058 GB, free: 23.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/1.342, allocations: 236.7 kB / 0.606 GB, free: 23.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.411, allocations: 1.828 kB / 0.606 GB, free: 23.6 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: