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-master/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-master/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-master/package.mo): time 0.08071/0.08071, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.342/1.342, allocations: 205.1 MB / 240.3 MB, free: 12.42 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.001384/0.001383, allocations: 192.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4368/0.4368, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.002744/0.002744, allocations: 145 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2603, allocations: 68.1 MB / 0.5547 GB, free: 32.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.00341/0.2637, allocations: 3.054 MB / 0.5577 GB, free: 30.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2652, allocations: 1.019 MB / 0.5587 GB, free: 29.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2653, allocations: 2.656 kB / 0.5587 GB, free: 29.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.2656, allocations: 97.83 kB / 0.5588 GB, free: 29.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.2659, allocations: 162.3 kB / 0.5589 GB, free: 29.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000861/0.2668, allocations: 460.4 kB / 0.5593 GB, free: 29.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.2672, allocations: 0.5393 MB / 0.5599 GB, free: 29.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.2674, allocations: 104.9 kB / 0.56 GB, free: 28.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.2677, allocations: 217 kB / 0.5602 GB, free: 28.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.268, allocations: 301.5 kB / 0.5605 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/0.2681, allocations: 47.16 kB / 0.5605 GB, free: 28.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.2683, allocations: 96.28 kB / 0.5606 GB, free: 28.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.2684, allocations: 124.6 kB / 0.5607 GB, free: 28.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.2685, allocations: 233.6 kB / 0.5609 GB, free: 28.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.2689, allocations: 0.5877 MB / 0.5615 GB, free: 27.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2689, allocations: 0 / 0.5615 GB, free: 27.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.269, allocations: 0 / 0.5615 GB, free: 27.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.269, allocations: 0 / 0.5615 GB, free: 27.93 MB / 398.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.003151/0.2721, allocations: 1.149 MB / 0.5626 GB, free: 27.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2722, allocations: 13.8 kB / 0.5627 GB, free: 27.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.2722, allocations: 67.25 kB / 0.5627 GB, free: 27.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.2739, allocations: 274.6 kB / 0.563 GB, free: 26.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.2743, allocations: 425.2 kB / 0.5634 GB, free: 26.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.194e-05/0.2744, allocations: 87.08 kB / 0.5635 GB, free: 26.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.2745, allocations: 25.94 kB / 0.5635 GB, free: 26.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.2752, allocations: 407.6 kB / 0.5639 GB, free: 26.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2753, allocations: 3.984 kB / 0.5639 GB, free: 26.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.2753, allocations: 11.5 kB / 0.5639 GB, free: 26.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2753, allocations: 5.719 kB / 0.5639 GB, free: 26.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.276, allocations: 394.3 kB / 0.5643 GB, free: 26.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2778, allocations: 1.122 MB / 0.5654 GB, free: 25.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.2845, allocations: 1.37 MB / 0.5667 GB, free: 24.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.285, allocations: 279.4 kB / 0.567 GB, free: 24.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.2851, allocations: 3.656 kB / 0.567 GB, free: 24.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.2851, allocations: 48.88 kB / 0.567 GB, free: 24.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.2851, allocations: 0 / 0.567 GB, free: 24.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.006147/0.2912, allocations: 1.995 MB / 0.569 GB, free: 23.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2913, allocations: 58.72 kB / 0.569 GB, free: 23.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.2917, allocations: 427.8 kB / 0.5694 GB, free: 22.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.2918, allocations: 31.73 kB / 0.5695 GB, free: 22.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2919, allocations: 204.4 kB / 0.5697 GB, free: 22.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.392e-05/0.292, allocations: 121.7 kB / 0.5698 GB, free: 22.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.2921, allocations: 63.47 kB / 0.5698 GB, free: 22.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.2922, allocations: 348.1 kB / 0.5702 GB, free: 22.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.2927, allocations: 244.4 kB / 0.5704 GB, free: 22.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.2932, allocations: 243.8 kB / 0.5706 GB, free: 21.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.2942, allocations: 0.4999 MB / 0.5711 GB, free: 21.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2942, allocations: 0 / 0.5711 GB, free: 21.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004259/0.2985, allocations: 1.373 MB / 0.5725 GB, free: 20.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2985, allocations: 9.75 kB / 0.5725 GB, free: 20.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2985, allocations: 0 / 0.5725 GB, free: 20.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.3018, allocations: 0.8926 MB / 0.5734 GB, free: 20.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.302, allocations: 35.92 kB / 0.5734 GB, free: 20.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005564/0.3075, allocations: 3.392 MB / 0.5767 GB, free: 16.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.3081, allocations: 47.8 kB / 0.5767 GB, free: 16.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.3081, allocations: 11.94 kB / 0.5768 GB, free: 16.43 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.0001724/0.3083, allocations: 153.8 kB / 0.5769 GB, free: 16.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.3084, allocations: 47.42 kB / 0.5769 GB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.3118, allocations: 1.229 MB / 0.5782 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3118, allocations: 4 kB / 0.5782 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3119, allocations: 0 / 0.5782 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3119, allocations: 3.984 kB / 0.5782 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.3123, allocations: 0.5633 MB / 0.5787 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3123, allocations: 0 / 0.5787 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3126, allocations: 35.92 kB / 0.5787 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.3147, allocations: 0.6269 MB / 0.5794 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.3147, allocations: 8 kB / 0.5794 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.3183, allocations: 2.552 MB / 0.5819 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3183, allocations: 0 / 0.5819 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003899/0.3222, allocations: 1.61 MB / 0.5834 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.3223, allocations: 124.6 kB / 0.5835 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.3224, allocations: 8 kB / 0.5836 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004564/0.3228, allocations: 31.97 kB / 0.5836 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.323, allocations: 95.75 kB / 0.5837 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3231, allocations: 15.98 kB / 0.5837 GB, free: 9.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.3233, allocations: 311.1 kB / 0.584 GB, free: 8.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3233, allocations: 4 kB / 0.584 GB, free: 8.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.3238, allocations: 151.8 kB / 0.5841 GB, free: 8.605 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.004072/0.3279, allocations: 2.143 MB / 0.5862 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.3305, allocations: 1.151 MB / 0.5874 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3306, allocations: 4 kB / 0.5874 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.3321, allocations: 0.7402 MB / 0.5881 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3325, allocations: 32.22 kB / 0.5881 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.3442, allocations: 6.133 MB / 0.5941 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3445, allocations: 0.8235 MB / 0.5949 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3447, allocations: 30.97 kB / 0.5949 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.3449, allocations: 143.4 kB / 0.5951 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3449, allocations: 3.938 kB / 0.5951 GB, free: 13.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.378, allocations: 12.77 MB / 0.6075 GB, free: 484 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 0 / 0.6075 GB, free: 484 kB / 414.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)