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.007221/0.007221, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.312/1.312, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001208/0.001208, allocations: 188.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4416/0.4416, allocations: 78.53 MB / 418.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 79.88 kB / 0.5536 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3173, allocations: 68.16 MB / 0.6202 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003084/0.3205, allocations: 2.989 MB / 0.6231 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3217, allocations: 0.9471 MB / 0.624 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3218, allocations: 11.94 kB / 0.624 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.3221, allocations: 91.33 kB / 0.6241 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.3224, allocations: 146.9 kB / 0.6242 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007839/0.3232, allocations: 467.4 kB / 0.6247 GB, free: 5.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3235, allocations: 0.5021 MB / 0.6252 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3237, allocations: 97.03 kB / 0.6253 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.3238, allocations: 211 kB / 0.6255 GB, free: 4.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.3241, allocations: 278.8 kB / 0.6257 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.3242, allocations: 44 kB / 0.6258 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3243, allocations: 107.9 kB / 0.6259 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.3244, allocations: 111.6 kB / 0.626 GB, free: 4.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3245, allocations: 222.7 kB / 0.6262 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.325, allocations: 0.5654 MB / 0.6268 GB, free: 3.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.325, allocations: 0 / 0.6268 GB, free: 3.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.325, allocations: 0 / 0.6268 GB, free: 3.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.325, allocations: 0 / 0.6268 GB, free: 3.48 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.002849/0.3279, allocations: 1.133 MB / 0.6279 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3279, allocations: 16.03 kB / 0.6279 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.3295, allocations: 272.4 kB / 0.6281 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3299, allocations: 406.4 kB / 0.6285 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.431e-05/0.33, allocations: 88.08 kB / 0.6286 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.33, allocations: 24 kB / 0.6286 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.3307, allocations: 404.7 kB / 0.629 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3307, allocations: 0 / 0.629 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.3308, allocations: 12 kB / 0.629 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3308, allocations: 8 kB / 0.629 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006458/0.3314, allocations: 386 kB / 0.6294 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.3331, allocations: 1.088 MB / 0.6305 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006474/0.3396, allocations: 1.384 MB / 0.6318 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.3402, allocations: 268.7 kB / 0.6321 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.3403, allocations: 4 kB / 0.6321 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3403, allocations: 39.16 kB / 0.6321 GB, free: 13.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.3403, allocations: 4 kB / 0.6321 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.006189/0.3465, allocations: 1.967 MB / 0.634 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3466, allocations: 55.41 kB / 0.6341 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.3471, allocations: 401.6 kB / 0.6345 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3471, allocations: 33.7 kB / 0.6345 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3473, allocations: 200.8 kB / 0.6347 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3474, allocations: 126.9 kB / 0.6348 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3476, allocations: 62.02 kB / 0.6349 GB, free: 10.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3477, allocations: 354.7 kB / 0.6352 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.3482, allocations: 232.5 kB / 0.6354 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.3487, allocations: 225.2 kB / 0.6357 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.3498, allocations: 498.9 kB / 0.6361 GB, free: 9.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3498, allocations: 0 / 0.6361 GB, free: 9.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003933/0.3537, allocations: 1.28 MB / 0.6374 GB, free: 8.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3537, allocations: 6.344 kB / 0.6374 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3538, allocations: 4 kB / 0.6374 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.3567, allocations: 0.7673 MB / 0.6381 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3569, allocations: 43.91 kB / 0.6382 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/0.3626, allocations: 3.11 MB / 0.6412 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.3632, allocations: 51.75 kB / 0.6413 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3632, allocations: 11.94 kB / 0.6413 GB, free: 4.125 MB / 446.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.0002034/0.3634, allocations: 145.8 kB / 0.6414 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.3635, allocations: 39.72 kB / 0.6415 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.3671, allocations: 1.222 MB / 0.6427 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.3672, allocations: 4 kB / 0.6427 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3672, allocations: 3.938 kB / 0.6427 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3672, allocations: 7.875 kB / 0.6427 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.3677, allocations: 0.5245 MB / 0.6432 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3678, allocations: 8 kB / 0.6432 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.368, allocations: 35.98 kB / 0.6432 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.3702, allocations: 0.6229 MB / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3702, allocations: 8 kB / 0.6438 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.3743, allocations: 2.555 MB / 0.6463 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3743, allocations: 0 / 0.6463 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.3786, allocations: 1.582 MB / 0.6479 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3787, allocations: 132.7 kB / 0.648 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.3788, allocations: 11.94 kB / 0.648 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.3792, allocations: 31.97 kB / 0.648 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.3795, allocations: 87.88 kB / 0.6481 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.3795, allocations: 11.98 kB / 0.6481 GB, free: 12.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003006/0.3798, allocations: 287.2 kB / 0.6484 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3798, allocations: 0 / 0.6484 GB, free: 12.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.3803, allocations: 139.9 kB / 0.6485 GB, free: 12.41 MB / 462.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.000173/0.3805, allocations: 111.2 kB / 0.6487 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.3833, allocations: 1.076 MB / 0.6497 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3833, allocations: 0 / 0.6497 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.385, allocations: 0.7286 MB / 0.6504 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3854, allocations: 33.56 kB / 0.6504 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3871, allocations: 0.8775 MB / 0.6513 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3875, allocations: 0.815 MB / 0.6521 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.3877, allocations: 26.97 kB / 0.6521 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3878, allocations: 31.38 kB / 0.6522 GB, free: 8.539 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3878, allocations: 0 / 0.6522 GB, free: 8.539 MB / 462.1 MB Notification: Performance of Templates: time 0.01355/0.4014, allocations: 8.413 MB / 0.6604 GB, free: 132 kB / 462.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)