Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 174.5 kB / 15.42 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007411/0.0007412, allocations: 109.3 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4525/0.4525, allocations: 78.42 MB / 418.9 MB, free: 44.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8 kB / 498.5 MB, free: 3.797 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3399, allocations: 68.77 MB / 0.554 GB, free: 39.64 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003634/0.3436, allocations: 3.126 MB / 0.557 GB, free: 39.29 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3449, allocations: 0.96 MB / 0.558 GB, free: 38.87 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.345, allocations: 4.594 kB / 0.558 GB, free: 38.87 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.3453, allocations: 77 kB / 0.558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.3456, allocations: 126.9 kB / 0.5582 GB, free: 38.78 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.3465, allocations: 439.4 kB / 0.5586 GB, free: 38.64 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.3469, allocations: 485.5 kB / 0.5591 GB, free: 38.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.3471, allocations: 88.91 kB / 0.5591 GB, free: 38.51 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3473, allocations: 187.8 kB / 0.5593 GB, free: 38.45 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.3477, allocations: 262.3 kB / 0.5596 GB, free: 38.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.3478, allocations: 22.31 kB / 0.5596 GB, free: 38.38 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3479, allocations: 75.42 kB / 0.5597 GB, free: 38.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.348, allocations: 87.2 kB / 0.5597 GB, free: 38.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3482, allocations: 211.3 kB / 0.5599 GB, free: 38.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.3488, allocations: 0.524 MB / 0.5605 GB, free: 38.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3488, allocations: 0 / 0.5605 GB, free: 38.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3488, allocations: 3.938 kB / 0.5605 GB, free: 38.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3488, allocations: 5.062 kB / 0.5605 GB, free: 38.14 MB / 426.7 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.002969/0.3518, allocations: 1.043 MB / 0.5615 GB, free: 37.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3519, allocations: 14.14 kB / 0.5615 GB, free: 37.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/0.352, allocations: 62.98 kB / 0.5616 GB, free: 37.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.3536, allocations: 274.1 kB / 0.5618 GB, free: 37.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.354, allocations: 402.7 kB / 0.5622 GB, free: 37.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/0.3541, allocations: 87.81 kB / 0.5623 GB, free: 37.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.3542, allocations: 24.47 kB / 0.5623 GB, free: 37.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.355, allocations: 404.6 kB / 0.5627 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.355, allocations: 1.125 kB / 0.5627 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.355, allocations: 9.156 kB / 0.5627 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.355, allocations: 6.266 kB / 0.5627 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.3558, allocations: 393.5 kB / 0.5631 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3576, allocations: 1.092 MB / 0.5642 GB, free: 36.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006227/0.3638, allocations: 1.384 MB / 0.5655 GB, free: 36.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.3644, allocations: 271.3 kB / 0.5658 GB, free: 36.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.3644, allocations: 7.828 kB / 0.5658 GB, free: 36.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3645, allocations: 42.56 kB / 0.5658 GB, free: 36.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.305e-06/0.3645, allocations: 0 / 0.5658 GB, free: 36.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005609/0.3701, allocations: 1.947 MB / 0.5677 GB, free: 36.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.3701, allocations: 62.88 kB / 0.5678 GB, free: 36.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.3705, allocations: 398.6 kB / 0.5682 GB, free: 35.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3706, allocations: 33.7 kB / 0.5682 GB, free: 35.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.3707, allocations: 213.5 kB / 0.5684 GB, free: 35.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.3708, allocations: 118.7 kB / 0.5685 GB, free: 35.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.3708, allocations: 35.7 kB / 0.5685 GB, free: 35.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.3709, allocations: 352.8 kB / 0.5689 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.3713, allocations: 224 kB / 0.5691 GB, free: 35.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3717, allocations: 231.1 kB / 0.5693 GB, free: 35.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.3725, allocations: 0.493 MB / 0.5698 GB, free: 34.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3726, allocations: 0 / 0.5698 GB, free: 34.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003562/0.3761, allocations: 1.281 MB / 0.571 GB, free: 34.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3761, allocations: 5.781 kB / 0.571 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3762, allocations: 4.797 kB / 0.571 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.3788, allocations: 0.762 MB / 0.5718 GB, free: 34.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.379, allocations: 37.45 kB / 0.5718 GB, free: 34.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.3836, allocations: 2.862 MB / 0.5746 GB, free: 32.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/0.384, allocations: 58.34 kB / 0.5747 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3841, allocations: 9.328 kB / 0.5747 GB, free: 32.39 MB / 426.7 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.000179/0.3843, allocations: 150.9 kB / 0.5748 GB, free: 32.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.3843, allocations: 38.78 kB / 0.5749 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.3876, allocations: 1.211 MB / 0.5761 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3876, allocations: 2.969 kB / 0.5761 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3876, allocations: 2.844 kB / 0.5761 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3876, allocations: 3.141 kB / 0.5761 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.3881, allocations: 0.5349 MB / 0.5766 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3881, allocations: 0 / 0.5766 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3883, allocations: 41.02 kB / 0.5766 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.3902, allocations: 0.6224 MB / 0.5772 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.3902, allocations: 10.38 kB / 0.5772 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.3933, allocations: 2.349 MB / 0.5795 GB, free: 29.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3934, allocations: 3.938 kB / 0.5795 GB, free: 29.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003628/0.397, allocations: 1.584 MB / 0.5811 GB, free: 29.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.3971, allocations: 120.9 kB / 0.5812 GB, free: 28.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3972, allocations: 6.75 kB / 0.5812 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.3976, allocations: 31.38 kB / 0.5812 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.3978, allocations: 85.77 kB / 0.5813 GB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.3978, allocations: 13.14 kB / 0.5813 GB, free: 28.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.3981, allocations: 284.7 kB / 0.5816 GB, free: 28.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3981, allocations: 4 kB / 0.5816 GB, free: 28.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004542/0.3986, allocations: 143.8 kB / 0.5817 GB, free: 28.79 MB / 426.7 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.003849/0.4024, allocations: 2.144 MB / 0.5838 GB, free: 27.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.4048, allocations: 1.067 MB / 0.5849 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4048, allocations: 0 / 0.5849 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.4063, allocations: 0.7284 MB / 0.5856 GB, free: 26.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.4068, allocations: 36.5 kB / 0.5856 GB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4176, allocations: 5.84 MB / 0.5913 GB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.4178, allocations: 0.8122 MB / 0.5921 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.418, allocations: 28.72 kB / 0.5921 GB, free: 23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4182, allocations: 136 kB / 0.5923 GB, free: 22.9 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4182, allocations: 0 / 0.5923 GB, free: 22.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.4426, allocations: 10.9 MB / 0.6029 GB, free: 20.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/0.4428, allocations: 259 kB / 0.6032 GB, free: 20.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.668, allocations: 5.344 kB / 0.6032 GB, free: 20.71 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)