Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.08289/0.08289, allocations: 12.21 MB / 27.47 MB, free: 0.9297 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008541/0.000854, allocations: 95.52 kB / 31 MB, free: 4.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 239.8 MB, free: 13.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 171.8 kB / 291 MB, free: 13.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4377/0.4377, allocations: 78.51 MB / 420.5 MB, free: 12.18 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008737/0.0008739, allocations: 33.31 kB / 0.4902 GB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2708, allocations: 69.23 MB / 0.5578 GB, free: 21.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.002146/0.273, allocations: 2.836 MB / 0.5606 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2742, allocations: 1.022 MB / 0.5616 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.2744, allocations: 4 kB / 0.5616 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2746, allocations: 79.45 kB / 0.5617 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.2748, allocations: 127.2 kB / 0.5618 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.2755, allocations: 430.4 kB / 0.5622 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.2758, allocations: 0.5098 MB / 0.5627 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.276, allocations: 88.19 kB / 0.5628 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.2762, allocations: 199 kB / 0.563 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.2764, allocations: 270.8 kB / 0.5632 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.2765, allocations: 24 kB / 0.5632 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.2766, allocations: 79.91 kB / 0.5633 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.2767, allocations: 91.58 kB / 0.5634 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2768, allocations: 236.4 kB / 0.5636 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.2772, allocations: 0.5642 MB / 0.5642 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.2772, allocations: 0 / 0.5642 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2772, allocations: 0 / 0.5642 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2772, allocations: 0 / 0.5642 GB, free: 14.56 MB / 382.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.002781/0.28, allocations: 1.105 MB / 0.5653 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.28, allocations: 11.98 kB / 0.5653 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.2801, allocations: 62.72 kB / 0.5653 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.2816, allocations: 272 kB / 0.5656 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.282, allocations: 430 kB / 0.566 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/0.2821, allocations: 91.89 kB / 0.5661 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.2822, allocations: 32 kB / 0.5661 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.2829, allocations: 428.7 kB / 0.5665 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2829, allocations: 0 / 0.5665 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.283, allocations: 15.94 kB / 0.5665 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.283, allocations: 4 kB / 0.5665 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.2836, allocations: 422 kB / 0.5669 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.2853, allocations: 1.146 MB / 0.5681 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/0.292, allocations: 1.841 MB / 0.5699 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.2925, allocations: 308.7 kB / 0.5702 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.2926, allocations: 4 kB / 0.5702 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2926, allocations: 38.48 kB / 0.5702 GB, free: 8.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.2926, allocations: 4 kB / 0.5702 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.006161/0.2988, allocations: 2.404 MB / 0.5726 GB, free: 5.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.2988, allocations: 59.34 kB / 0.5726 GB, free: 5.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.2992, allocations: 421.7 kB / 0.573 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2992, allocations: 29.7 kB / 0.573 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2994, allocations: 208.6 kB / 0.5732 GB, free: 4.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.2994, allocations: 126.2 kB / 0.5734 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.2995, allocations: 37.69 kB / 0.5734 GB, free: 4.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.2996, allocations: 350.8 kB / 0.5737 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.3, allocations: 271.8 kB / 0.574 GB, free: 4.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.3005, allocations: 271.4 kB / 0.5742 GB, free: 3.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.3015, allocations: 0.5397 MB / 0.5748 GB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3015, allocations: 0 / 0.5748 GB, free: 3.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004251/0.3057, allocations: 1.623 MB / 0.5764 GB, free: 1.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3058, allocations: 11.94 kB / 0.5764 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3058, allocations: 0 / 0.5764 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/0.3091, allocations: 1.009 MB / 0.5774 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3093, allocations: 39.92 kB / 0.5774 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.3155, allocations: 3.297 MB / 0.5806 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.316, allocations: 59.72 kB / 0.5807 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.316, allocations: 12 kB / 0.5807 GB, free: 13.19 MB / 398.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.0001992/0.3162, allocations: 153.7 kB / 0.5808 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.3163, allocations: 47.52 kB / 0.5809 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.3205, allocations: 1.46 MB / 0.5823 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3205, allocations: 8 kB / 0.5823 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3205, allocations: 4 kB / 0.5823 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3205, allocations: 3.984 kB / 0.5823 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.3211, allocations: 0.5478 MB / 0.5829 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3211, allocations: 0 / 0.5829 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.3214, allocations: 39.92 kB / 0.5829 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/0.3238, allocations: 0.7557 MB / 0.5836 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.3239, allocations: 8 kB / 0.5836 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.3281, allocations: 2.527 MB / 0.5861 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3281, allocations: 0 / 0.5861 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.3328, allocations: 1.869 MB / 0.5879 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.333, allocations: 136.5 kB / 0.5881 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.3331, allocations: 12 kB / 0.5881 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004816/0.3336, allocations: 43.97 kB / 0.5881 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.3338, allocations: 91.64 kB / 0.5882 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.3338, allocations: 8 kB / 0.5882 GB, free: 5.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003517/0.3342, allocations: 311.1 kB / 0.5885 GB, free: 4.918 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3342, allocations: 0 / 0.5885 GB, free: 4.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.3347, allocations: 147.8 kB / 0.5886 GB, free: 4.773 MB / 398.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.005034/0.3397, allocations: 2.424 MB / 0.591 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.3428, allocations: 1.217 MB / 0.5922 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3428, allocations: 0 / 0.5922 GB, free: 1.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.3447, allocations: 0.8268 MB / 0.593 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.3451, allocations: 45.42 kB / 0.593 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.3593, allocations: 6.853 MB / 0.5997 GB, free: 9.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.3597, allocations: 0.8196 MB / 0.6005 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.3599, allocations: 30.97 kB / 0.6006 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3601, allocations: 139.4 kB / 0.6007 GB, free: 8.145 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3601, allocations: 0 / 0.6007 GB, free: 8.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.389, allocations: 11.6 MB / 0.612 GB, free: 12.7 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.3893, allocations: 253.5 kB / 0.6123 GB, free: 12.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.325, allocations: 4 kB / 0.6123 GB, free: 12.44 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)