Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.367/1.367, allocations: 222.9 MB / 240 MB, free: 4.527 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.001234/0.001234, allocations: 188.5 kB / 290.3 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4458/0.4458, allocations: 78.53 MB / 419 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.88 kB / 498.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 68.18 MB / 0.5538 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.1782/0.2863, allocations: 3.051 MB / 0.5568 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2879, allocations: 0.9688 MB / 0.5577 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.2883, allocations: 3.125 kB / 0.5577 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.2886, allocations: 94.47 kB / 0.5578 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.289, allocations: 157.8 kB / 0.5579 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.2899, allocations: 467.7 kB / 0.5584 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.2905, allocations: 0.5374 MB / 0.5589 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.2907, allocations: 86.33 kB / 0.559 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.291, allocations: 231.1 kB / 0.5592 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.2913, allocations: 298 kB / 0.5595 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.027e-05/0.2914, allocations: 47.81 kB / 0.5595 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2916, allocations: 99.16 kB / 0.5596 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.2917, allocations: 115.7 kB / 0.5598 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2918, allocations: 237.6 kB / 0.56 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.2923, allocations: 0.5942 MB / 0.5606 GB, free: 37.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2923, allocations: 0 / 0.5606 GB, free: 37.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2923, allocations: 1.938 kB / 0.5606 GB, free: 37.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.2923, allocations: 0 / 0.5606 GB, free: 37.06 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.002934/0.2953, allocations: 1.15 MB / 0.5617 GB, free: 36.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2953, allocations: 9.844 kB / 0.5617 GB, free: 36.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.2968, allocations: 267.3 kB / 0.5619 GB, free: 36.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.2973, allocations: 426.1 kB / 0.5624 GB, free: 36.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.2974, allocations: 88.48 kB / 0.5624 GB, free: 36.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/0.2975, allocations: 32.5 kB / 0.5625 GB, free: 36.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006231/0.2981, allocations: 408.4 kB / 0.5629 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2981, allocations: 4.641 kB / 0.5629 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2982, allocations: 14.47 kB / 0.5629 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2982, allocations: 6 kB / 0.5629 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000605/0.2988, allocations: 385 kB / 0.5633 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.3004, allocations: 1.121 MB / 0.5643 GB, free: 35.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005662/0.3061, allocations: 1.369 MB / 0.5657 GB, free: 35.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.3066, allocations: 288.5 kB / 0.566 GB, free: 35.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.3067, allocations: 3.188 kB / 0.566 GB, free: 35.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3067, allocations: 36.97 kB / 0.566 GB, free: 35.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 1.973e-06/0.3067, allocations: 0 / 0.566 GB, free: 35.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.005036/0.3117, allocations: 1.986 MB / 0.5679 GB, free: 35.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.3118, allocations: 63.56 kB / 0.568 GB, free: 35.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.3121, allocations: 429.9 kB / 0.5684 GB, free: 35.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3122, allocations: 29.58 kB / 0.5684 GB, free: 35.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.3123, allocations: 213.1 kB / 0.5686 GB, free: 35.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.3123, allocations: 122.7 kB / 0.5688 GB, free: 34.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3125, allocations: 62.62 kB / 0.5688 GB, free: 34.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.3125, allocations: 357.2 kB / 0.5692 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.3129, allocations: 234.5 kB / 0.5694 GB, free: 34.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.3133, allocations: 245.9 kB / 0.5696 GB, free: 34.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008017/0.3142, allocations: 0.506 MB / 0.5701 GB, free: 34.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3142, allocations: 0 / 0.5701 GB, free: 34.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0035/0.3177, allocations: 1.376 MB / 0.5715 GB, free: 34.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3177, allocations: 9.188 kB / 0.5715 GB, free: 34.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3177, allocations: 0 / 0.5715 GB, free: 34.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.3205, allocations: 0.8846 MB / 0.5723 GB, free: 34.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.3207, allocations: 37.02 kB / 0.5724 GB, free: 34.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004989/0.3257, allocations: 3.378 MB / 0.5757 GB, free: 32.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.3261, allocations: 47.94 kB / 0.5757 GB, free: 32.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.3261, allocations: 12.06 kB / 0.5757 GB, free: 32.96 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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3263, allocations: 157.3 kB / 0.5759 GB, free: 32.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.243e-05/0.3264, allocations: 44.25 kB / 0.5759 GB, free: 32.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.3293, allocations: 1.229 MB / 0.5771 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3293, allocations: 6.688 kB / 0.5771 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3293, allocations: 2.656 kB / 0.5771 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3293, allocations: 1.625 kB / 0.5771 GB, free: 32.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.3297, allocations: 0.549 MB / 0.5777 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3298, allocations: 4 kB / 0.5777 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.33, allocations: 39.08 kB / 0.5777 GB, free: 32.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.3317, allocations: 0.6338 MB / 0.5783 GB, free: 32.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.3318, allocations: 7.75 kB / 0.5783 GB, free: 32.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.3349, allocations: 2.547 MB / 0.5808 GB, free: 30.78 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3349, allocations: 5.531 kB / 0.5808 GB, free: 30.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.3384, allocations: 1.604 MB / 0.5824 GB, free: 30.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.3385, allocations: 128.3 kB / 0.5825 GB, free: 30.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.3386, allocations: 10.66 kB / 0.5825 GB, free: 30.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.339, allocations: 31.88 kB / 0.5825 GB, free: 30.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.3392, allocations: 85.31 kB / 0.5826 GB, free: 30.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.3392, allocations: 13.94 kB / 0.5826 GB, free: 30.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3395, allocations: 305.1 kB / 0.5829 GB, free: 29.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3395, allocations: 0 / 0.5829 GB, free: 29.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.3399, allocations: 152.4 kB / 0.5831 GB, free: 29.85 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 (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.0001213/0.3401, allocations: 117.3 kB / 0.5832 GB, free: 29.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002301/0.3424, allocations: 1.141 MB / 0.5843 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3424, allocations: 0 / 0.5843 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.3437, allocations: 0.7394 MB / 0.585 GB, free: 28.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.3441, allocations: 31.69 kB / 0.5851 GB, free: 28.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3454, allocations: 0.9613 MB / 0.586 GB, free: 28.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3456, allocations: 0.8145 MB / 0.5868 GB, free: 27.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.3458, allocations: 33.31 kB / 0.5868 GB, free: 27.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.3459, allocations: 25.72 kB / 0.5868 GB, free: 27.39 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3459, allocations: 0 / 0.5868 GB, free: 27.39 MB / 430.1 MB Notification: Performance of Templates: time 0.2231/0.569, allocations: 8.934 MB / 0.5956 GB, free: 26.93 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)