Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 239.3 MB, free: 4.586 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.001863/0.001863, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5639/0.5639, allocations: 91.9 MB / 431.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 75.88 kB / 0.502 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5237, allocations: 71.26 MB / 0.5716 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003834/0.5276, allocations: 3.009 MB / 0.5745 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.529, allocations: 0.9448 MB / 0.5754 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.5292, allocations: 5.125 kB / 0.5754 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.5295, allocations: 95.12 kB / 0.5755 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.5298, allocations: 149.9 kB / 0.5757 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.5306, allocations: 477.1 kB / 0.5761 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.5311, allocations: 0.4974 MB / 0.5766 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.5313, allocations: 95.25 kB / 0.5767 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.5315, allocations: 206.9 kB / 0.5769 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.5319, allocations: 281.4 kB / 0.5772 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.532, allocations: 45.97 kB / 0.5772 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.5321, allocations: 102.9 kB / 0.5773 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.5322, allocations: 109.2 kB / 0.5774 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.5324, allocations: 222.4 kB / 0.5776 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.5329, allocations: 0.566 MB / 0.5782 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5329, allocations: 0 / 0.5782 GB, free: 33.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5329, allocations: 0 / 0.5782 GB, free: 33.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.533, allocations: 1.156 kB / 0.5782 GB, free: 33.31 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.003177/0.5361, allocations: 1.113 MB / 0.5793 GB, free: 32.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5362, allocations: 8.688 kB / 0.5793 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.5363, allocations: 62.48 kB / 0.5793 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5378, allocations: 276.2 kB / 0.5796 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.5383, allocations: 403 kB / 0.58 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.5384, allocations: 91.52 kB / 0.5801 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.5385, allocations: 24 kB / 0.5801 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.5392, allocations: 407.5 kB / 0.5805 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5392, allocations: 0 / 0.5805 GB, free: 32.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.5392, allocations: 10.84 kB / 0.5805 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.5392, allocations: 7.188 kB / 0.5805 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.5399, allocations: 388.7 kB / 0.5809 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.5417, allocations: 1.104 MB / 0.5819 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006419/0.5481, allocations: 1.383 MB / 0.5833 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.5486, allocations: 267.5 kB / 0.5835 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.677e-05/0.5487, allocations: 7.531 kB / 0.5836 GB, free: 30.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5487, allocations: 46.47 kB / 0.5836 GB, free: 30.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/0.5487, allocations: 0 / 0.5836 GB, free: 30.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006414/0.5551, allocations: 1.954 MB / 0.5855 GB, free: 30.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5552, allocations: 58.69 kB / 0.5856 GB, free: 30.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.5556, allocations: 398.3 kB / 0.5859 GB, free: 29.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.5557, allocations: 30.86 kB / 0.586 GB, free: 29.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5558, allocations: 205.9 kB / 0.5862 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.5559, allocations: 118.6 kB / 0.5863 GB, free: 29.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.556, allocations: 61.98 kB / 0.5863 GB, free: 29.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.5561, allocations: 349 kB / 0.5867 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.5566, allocations: 233.5 kB / 0.5869 GB, free: 29.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.5571, allocations: 227.5 kB / 0.5871 GB, free: 29.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5581, allocations: 498 kB / 0.5876 GB, free: 28.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5581, allocations: 4.938 kB / 0.5876 GB, free: 28.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004081/0.5622, allocations: 1.281 MB / 0.5888 GB, free: 28.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5623, allocations: 6.938 kB / 0.5889 GB, free: 28.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5623, allocations: 7.922 kB / 0.5889 GB, free: 28.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.5654, allocations: 0.7617 MB / 0.5896 GB, free: 28.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.5656, allocations: 35.88 kB / 0.5896 GB, free: 28.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.5719, allocations: 3.117 MB / 0.5927 GB, free: 26.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/0.5726, allocations: 46.81 kB / 0.5927 GB, free: 26.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.5726, allocations: 10.78 kB / 0.5927 GB, free: 26.26 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.5729, allocations: 145 kB / 0.5929 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5731, allocations: 50.39 kB / 0.5929 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.5771, allocations: 1.208 MB / 0.5941 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5772, allocations: 7.375 kB / 0.5941 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.5772, allocations: 10.25 kB / 0.5941 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.5772, allocations: 4.016 kB / 0.5941 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.578, allocations: 0.5271 MB / 0.5946 GB, free: 25.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.578, allocations: 0.9062 kB / 0.5946 GB, free: 25.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.5783, allocations: 38.78 kB / 0.5947 GB, free: 25.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/0.5808, allocations: 0.6258 MB / 0.5953 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.5809, allocations: 5.219 kB / 0.5953 GB, free: 25.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/0.5851, allocations: 2.559 MB / 0.5978 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5851, allocations: 1.469 kB / 0.5978 GB, free: 23.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/0.5897, allocations: 1.578 MB / 0.5993 GB, free: 22.83 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.5899, allocations: 124.4 kB / 0.5995 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.5899, allocations: 14.12 kB / 0.5995 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.5904, allocations: 32.27 kB / 0.5995 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.5907, allocations: 86.66 kB / 0.5996 GB, free: 22.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.5907, allocations: 6.578 kB / 0.5996 GB, free: 22.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.5911, allocations: 291.4 kB / 0.5999 GB, free: 22.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5911, allocations: 0 / 0.5999 GB, free: 22.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006311/0.5918, allocations: 139.7 kB / 0.6 GB, free: 22.5 MB / 430.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.00499/0.5968, allocations: 2.143 MB / 0.6021 GB, free: 21.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.5999, allocations: 1.091 MB / 0.6032 GB, free: 20.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6, allocations: 4 kB / 0.6032 GB, free: 20.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.6016, allocations: 0.7243 MB / 0.6039 GB, free: 20.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.602, allocations: 35.34 kB / 0.6039 GB, free: 20.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.6148, allocations: 5.707 MB / 0.6095 GB, free: 17.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.6151, allocations: 0.823 MB / 0.6103 GB, free: 16.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.6152, allocations: 28 kB / 0.6103 GB, free: 16.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.6154, allocations: 133 kB / 0.6104 GB, free: 16.72 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6154, allocations: 0 / 0.6104 GB, free: 16.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.184/1.799, allocations: 12.05 MB / 0.6222 GB, free: 9.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/16.19, allocations: 7.891 kB / 0.6222 GB, free: 9.969 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)