Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001271/0.001271, allocations: 188.5 kB / 289.5 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4663/0.4663, allocations: 78.52 MB / 418.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 79.88 kB / 497.4 MB, free: 6.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 68.18 MB / 0.5524 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.2497/0.3938, allocations: 2.98 MB / 0.5553 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3958, allocations: 0.9513 MB / 0.5562 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.396, allocations: 4.062 kB / 0.5562 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.3963, allocations: 94.86 kB / 0.5563 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.3968, allocations: 148.7 kB / 0.5564 GB, free: 37.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.3977, allocations: 466.4 kB / 0.5569 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.3982, allocations: 0.5034 MB / 0.5574 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3984, allocations: 85.97 kB / 0.5575 GB, free: 37.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.3987, allocations: 218.1 kB / 0.5577 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.399, allocations: 276.6 kB / 0.5579 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.3991, allocations: 43.44 kB / 0.558 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.3993, allocations: 95.84 kB / 0.5581 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.3994, allocations: 111.5 kB / 0.5582 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.3996, allocations: 226.4 kB / 0.5584 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.4001, allocations: 0.5585 MB / 0.5589 GB, free: 37.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4001, allocations: 1.656 kB / 0.5589 GB, free: 37.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4001, allocations: 3.062 kB / 0.5589 GB, free: 37.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.4002, allocations: 0 / 0.5589 GB, free: 37.27 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.003095/0.4033, allocations: 1.123 MB / 0.56 GB, free: 36.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4033, allocations: 8.312 kB / 0.56 GB, free: 36.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.4049, allocations: 265.9 kB / 0.5603 GB, free: 36.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.4054, allocations: 410.1 kB / 0.5607 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.644e-05/0.4055, allocations: 91.23 kB / 0.5608 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.4055, allocations: 27.69 kB / 0.5608 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.4063, allocations: 400.2 kB / 0.5612 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4063, allocations: 0 / 0.5612 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.4063, allocations: 9.812 kB / 0.5612 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4063, allocations: 8.438 kB / 0.5612 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.407, allocations: 388.3 kB / 0.5616 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.4088, allocations: 1.094 MB / 0.5626 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006626/0.4155, allocations: 1.383 MB / 0.564 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.416, allocations: 274.6 kB / 0.5642 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.4161, allocations: 11.11 kB / 0.5643 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.4161, allocations: 36.16 kB / 0.5643 GB, free: 35.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.4161, allocations: 0 / 0.5643 GB, free: 35.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005975/0.4221, allocations: 1.952 MB / 0.5662 GB, free: 35.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4221, allocations: 60.44 kB / 0.5663 GB, free: 35.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.4225, allocations: 403.2 kB / 0.5666 GB, free: 35.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.4226, allocations: 37.77 kB / 0.5667 GB, free: 35.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.4227, allocations: 202.2 kB / 0.5669 GB, free: 35.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.4228, allocations: 120.2 kB / 0.567 GB, free: 35.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4229, allocations: 60.33 kB / 0.567 GB, free: 35.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.423, allocations: 352.9 kB / 0.5674 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.4234, allocations: 229.4 kB / 0.5676 GB, free: 34.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.4239, allocations: 233.5 kB / 0.5678 GB, free: 34.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.4248, allocations: 499 kB / 0.5683 GB, free: 34.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4248, allocations: 0 / 0.5683 GB, free: 34.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003793/0.4286, allocations: 1.279 MB / 0.5695 GB, free: 34.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4286, allocations: 5.656 kB / 0.5695 GB, free: 34.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4286, allocations: 0 / 0.5695 GB, free: 34.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.4314, allocations: 0.7679 MB / 0.5703 GB, free: 34.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4317, allocations: 39.56 kB / 0.5703 GB, free: 34.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005273/0.4369, allocations: 3.115 MB / 0.5734 GB, free: 33.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.4375, allocations: 48.62 kB / 0.5734 GB, free: 33.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4375, allocations: 10.34 kB / 0.5734 GB, free: 33.19 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 (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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.4377, allocations: 148.3 kB / 0.5736 GB, free: 33.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.4378, allocations: 36.69 kB / 0.5736 GB, free: 33.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4414, allocations: 1.22 MB / 0.5748 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4414, allocations: 2.656 kB / 0.5748 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4414, allocations: 2.688 kB / 0.5748 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4414, allocations: 7.734 kB / 0.5748 GB, free: 32.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.4419, allocations: 0.523 MB / 0.5753 GB, free: 32.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4419, allocations: 8.281 kB / 0.5753 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.4422, allocations: 39 kB / 0.5754 GB, free: 32.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.4443, allocations: 0.6229 MB / 0.576 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.4443, allocations: 9.969 kB / 0.576 GB, free: 32.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.4482, allocations: 2.564 MB / 0.5785 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4482, allocations: 1.688 kB / 0.5785 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/0.4527, allocations: 1.576 MB / 0.58 GB, free: 30.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.4529, allocations: 122 kB / 0.5801 GB, free: 30.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.453, allocations: 12.59 kB / 0.5802 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.4534, allocations: 28.78 kB / 0.5802 GB, free: 30.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.4537, allocations: 93.84 kB / 0.5803 GB, free: 30.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4537, allocations: 10.22 kB / 0.5803 GB, free: 30.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.4541, allocations: 291.6 kB / 0.5806 GB, free: 30.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4541, allocations: 1.156 kB / 0.5806 GB, free: 30.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.4547, allocations: 140.2 kB / 0.5807 GB, free: 30.43 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 (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.0001666/0.4549, allocations: 110.1 kB / 0.5808 GB, free: 30.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.4577, allocations: 1.087 MB / 0.5819 GB, free: 29.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4577, allocations: 0 / 0.5819 GB, free: 29.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.4594, allocations: 0.7327 MB / 0.5826 GB, free: 29.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4598, allocations: 31.19 kB / 0.5826 GB, free: 29.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.4614, allocations: 0.8614 MB / 0.5835 GB, free: 28.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4617, allocations: 0.8134 MB / 0.5842 GB, free: 28.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.4618, allocations: 30.02 kB / 0.5843 GB, free: 28.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.4619, allocations: 29.31 kB / 0.5843 GB, free: 28.06 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4619, allocations: 0 / 0.5843 GB, free: 28.06 MB / 430.1 MB Notification: Performance of Templates: time 0.01697/0.4789, allocations: 8.336 MB / 0.5924 GB, free: 27.65 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)