Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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.000844/0.0008442, allocations: 91.69 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.345/1.345, allocations: 223.3 MB / 239 MB, free: 5.426 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.001093/0.001093, allocations: 180.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4615/0.4615, allocations: 79.48 MB / 420.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 12 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3308, allocations: 69.51 MB / 0.5571 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002243/0.3331, allocations: 2.696 MB / 0.5597 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3342, allocations: 0.9205 MB / 0.5606 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3343, allocations: 4.25 kB / 0.5606 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3345, allocations: 74.8 kB / 0.5607 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.3348, allocations: 131.4 kB / 0.5608 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3355, allocations: 373.2 kB / 0.5612 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.3358, allocations: 491.1 kB / 0.5616 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.336, allocations: 81.86 kB / 0.5617 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3362, allocations: 193.3 kB / 0.5619 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.3365, allocations: 259.1 kB / 0.5622 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3365, allocations: 25.88 kB / 0.5622 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3367, allocations: 79.22 kB / 0.5623 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.3367, allocations: 92.59 kB / 0.5623 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.3368, allocations: 94.58 kB / 0.5624 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3371, allocations: 446.8 kB / 0.5629 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3372, allocations: 2.719 kB / 0.5629 GB, free: 36.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3372, allocations: 0.5312 kB / 0.5629 GB, free: 36.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3372, allocations: 2.625 kB / 0.5629 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.002572/0.3397, allocations: 1.1 MB / 0.5639 GB, free: 36.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3398, allocations: 13.22 kB / 0.564 GB, free: 36.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.3399, allocations: 67.7 kB / 0.564 GB, free: 36.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3412, allocations: 268.1 kB / 0.5643 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.3416, allocations: 410.2 kB / 0.5647 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.3417, allocations: 90.89 kB / 0.5647 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.3418, allocations: 27.41 kB / 0.5648 GB, free: 36.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.3425, allocations: 431.4 kB / 0.5652 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3425, allocations: 4.703 kB / 0.5652 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3425, allocations: 11.28 kB / 0.5652 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3425, allocations: 7.969 kB / 0.5652 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.3432, allocations: 414.5 kB / 0.5656 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.3447, allocations: 1.151 MB / 0.5667 GB, free: 35.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/0.3503, allocations: 1.839 MB / 0.5685 GB, free: 35.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.3507, allocations: 312.2 kB / 0.5688 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.3508, allocations: 10.91 kB / 0.5688 GB, free: 35.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.3508, allocations: 37.55 kB / 0.5689 GB, free: 35.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.433e-06/0.3508, allocations: 0 / 0.5689 GB, free: 35.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005214/0.356, allocations: 2.385 MB / 0.5712 GB, free: 35.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3561, allocations: 57.38 kB / 0.5713 GB, free: 35.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.3564, allocations: 420.3 kB / 0.5717 GB, free: 34.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3565, allocations: 29.64 kB / 0.5717 GB, free: 34.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3566, allocations: 220 kB / 0.5719 GB, free: 34.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.3567, allocations: 123.2 kB / 0.572 GB, free: 34.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.3567, allocations: 3.625 kB / 0.572 GB, free: 34.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.3568, allocations: 359 kB / 0.5724 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.3572, allocations: 260.9 kB / 0.5726 GB, free: 34.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.3576, allocations: 265.4 kB / 0.5729 GB, free: 34.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3581, allocations: 280.5 kB / 0.5731 GB, free: 34.42 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3581, allocations: 0 / 0.5731 GB, free: 34.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.003773/0.3619, allocations: 1.617 MB / 0.5747 GB, free: 34.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3619, allocations: 2.844 kB / 0.5747 GB, free: 34.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.3619, allocations: 2.75 kB / 0.5747 GB, free: 34.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.3648, allocations: 1.008 MB / 0.5757 GB, free: 34.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.365, allocations: 35.33 kB / 0.5757 GB, free: 34.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03624/0.4012, allocations: 3.289 MB / 0.5789 GB, free: 32.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/0.4019, allocations: 64.58 kB / 0.579 GB, free: 32.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.4019, allocations: 13.5 kB / 0.579 GB, free: 32.54 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.000221/0.4022, allocations: 153.1 kB / 0.5792 GB, free: 32.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.4023, allocations: 44.2 kB / 0.5792 GB, free: 32.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.4057, allocations: 1.468 MB / 0.5806 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4057, allocations: 4.625 kB / 0.5806 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4058, allocations: 2.25 kB / 0.5806 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4058, allocations: 7.141 kB / 0.5806 GB, free: 31.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.4063, allocations: 0.5435 MB / 0.5812 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4064, allocations: 0.625 kB / 0.5812 GB, free: 31.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.4066, allocations: 49.34 kB / 0.5812 GB, free: 31.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002054/0.4087, allocations: 0.7501 MB / 0.582 GB, free: 31.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.4087, allocations: 9.625 kB / 0.582 GB, free: 31.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.4122, allocations: 2.527 MB / 0.5844 GB, free: 29.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4122, allocations: 3.953 kB / 0.5844 GB, free: 29.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.4161, allocations: 1.871 MB / 0.5863 GB, free: 29.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4163, allocations: 128.6 kB / 0.5864 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.4164, allocations: 6.312 kB / 0.5864 GB, free: 29.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.4168, allocations: 47.25 kB / 0.5864 GB, free: 29.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.417, allocations: 89.56 kB / 0.5865 GB, free: 29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.417, allocations: 6.5 kB / 0.5865 GB, free: 29 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003189/0.4173, allocations: 306.1 kB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4173, allocations: 1.062 kB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.4179, allocations: 146.3 kB / 0.587 GB, free: 28.82 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.004162/0.4221, allocations: 2.421 MB / 0.5893 GB, free: 27.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002566/0.4246, allocations: 1.227 MB / 0.5905 GB, free: 27.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4247, allocations: 0 / 0.5905 GB, free: 27.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.4262, allocations: 0.8251 MB / 0.5913 GB, free: 26.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.4266, allocations: 42.67 kB / 0.5914 GB, free: 26.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.4353, allocations: 4.252 MB / 0.5955 GB, free: 24.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.4357, allocations: 0.8234 MB / 0.5963 GB, free: 24.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.4358, allocations: 25.94 kB / 0.5964 GB, free: 24.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.4361, allocations: 138.6 kB / 0.5965 GB, free: 23.9 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4361, allocations: 0 / 0.5965 GB, free: 23.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.282/4.718, allocations: 11.56 MB / 0.6078 GB, free: 22.55 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/4.719, allocations: 233.3 kB / 0.608 GB, free: 22.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/7.011, allocations: 4 kB / 0.608 GB, free: 22.31 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: