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.00112/0.00112, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.42/1.42, allocations: 223.3 MB / 239.4 MB, free: 5.395 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.001303/0.001303, allocations: 188.5 kB / 290.6 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5909/0.5909, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004794, allocations: 12 kB / 0.5049 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4461, allocations: 72.46 MB / 0.5756 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002851/0.449, allocations: 2.782 MB / 0.5784 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.4504, allocations: 0.9526 MB / 0.5793 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4506, allocations: 2.625 kB / 0.5793 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.4508, allocations: 79.03 kB / 0.5794 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.4511, allocations: 117.7 kB / 0.5795 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008016/0.4519, allocations: 439.6 kB / 0.5799 GB, free: 33.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.4523, allocations: 485.1 kB / 0.5804 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4524, allocations: 87.53 kB / 0.5804 GB, free: 33.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.4526, allocations: 186.4 kB / 0.5806 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.4529, allocations: 256.6 kB / 0.5809 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.453, allocations: 25.25 kB / 0.5809 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.4531, allocations: 80.23 kB / 0.581 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.4532, allocations: 84.8 kB / 0.581 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.4534, allocations: 238.4 kB / 0.5813 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.4537, allocations: 0.5239 MB / 0.5818 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4538, allocations: 2.938 kB / 0.5818 GB, free: 33.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.4538, allocations: 0 / 0.5818 GB, free: 33.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.4538, allocations: 4.469 kB / 0.5818 GB, free: 33.04 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.003039/0.4568, allocations: 1.068 MB / 0.5828 GB, free: 32.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.4569, allocations: 17.09 kB / 0.5828 GB, free: 32.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.802e-05/0.457, allocations: 61.72 kB / 0.5829 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.4586, allocations: 271.5 kB / 0.5832 GB, free: 32.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.459, allocations: 402 kB / 0.5835 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.4591, allocations: 93.98 kB / 0.5836 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.4592, allocations: 24.47 kB / 0.5837 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.46, allocations: 426.5 kB / 0.5841 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.46, allocations: 0.6875 kB / 0.5841 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.46, allocations: 10.78 kB / 0.5841 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.4601, allocations: 9.812 kB / 0.5841 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.4608, allocations: 414 kB / 0.5845 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.4626, allocations: 1.127 MB / 0.5856 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007235/0.4699, allocations: 1.847 MB / 0.5874 GB, free: 30.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.4706, allocations: 306.5 kB / 0.5877 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.4706, allocations: 8.422 kB / 0.5877 GB, free: 30.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4707, allocations: 40.84 kB / 0.5877 GB, free: 30.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/0.4707, allocations: 0 / 0.5877 GB, free: 30.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.007072/0.4778, allocations: 2.361 MB / 0.59 GB, free: 29.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4778, allocations: 59.97 kB / 0.5901 GB, free: 29.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.4784, allocations: 398.1 kB / 0.5905 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4784, allocations: 34.98 kB / 0.5905 GB, free: 29.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4786, allocations: 201 kB / 0.5907 GB, free: 29.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.4787, allocations: 126.9 kB / 0.5908 GB, free: 29.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.4787, allocations: 35.06 kB / 0.5908 GB, free: 29.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.4788, allocations: 352.5 kB / 0.5912 GB, free: 28.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.4794, allocations: 252.5 kB / 0.5914 GB, free: 28.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/0.4799, allocations: 256 kB / 0.5917 GB, free: 28.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.481, allocations: 0.5407 MB / 0.5922 GB, free: 28.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.481, allocations: 0 / 0.5922 GB, free: 28.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004475/0.4855, allocations: 1.525 MB / 0.5937 GB, free: 28.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4855, allocations: 5.219 kB / 0.5937 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.4855, allocations: 0 / 0.5937 GB, free: 28.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/0.4888, allocations: 0.8905 MB / 0.5946 GB, free: 27.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.4891, allocations: 36.25 kB / 0.5946 GB, free: 27.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005612/0.4947, allocations: 3.038 MB / 0.5976 GB, free: 26.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.4953, allocations: 68.5 kB / 0.5976 GB, free: 26.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.4953, allocations: 8.375 kB / 0.5976 GB, free: 26.03 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.0002042/0.4955, allocations: 150.1 kB / 0.5978 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.4956, allocations: 39.59 kB / 0.5978 GB, free: 25.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/0.4999, allocations: 1.453 MB / 0.5992 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4999, allocations: 3.281 kB / 0.5992 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4999, allocations: 6.406 kB / 0.5992 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4999, allocations: 2.953 kB / 0.5992 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006593/0.5006, allocations: 0.5296 MB / 0.5998 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.5006, allocations: 1.688 kB / 0.5998 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.5009, allocations: 43.12 kB / 0.5998 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.5034, allocations: 0.7431 MB / 0.6005 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.5035, allocations: 9.875 kB / 0.6005 GB, free: 24.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004163/0.5076, allocations: 2.532 MB / 0.603 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5077, allocations: 5.938 kB / 0.603 GB, free: 23.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/0.5125, allocations: 1.845 MB / 0.6048 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.5127, allocations: 125.5 kB / 0.6049 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.5128, allocations: 6.125 kB / 0.6049 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.5133, allocations: 51.02 kB / 0.605 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.5136, allocations: 82.38 kB / 0.6051 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.5136, allocations: 10.97 kB / 0.6051 GB, free: 22.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003787/0.514, allocations: 287.1 kB / 0.6054 GB, free: 22.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.514, allocations: 0 / 0.6054 GB, free: 22.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006035/0.5146, allocations: 140.2 kB / 0.6055 GB, free: 22.33 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.005179/0.5198, allocations: 2.408 MB / 0.6078 GB, free: 21.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003075/0.5229, allocations: 1.187 MB / 0.609 GB, free: 20.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5229, allocations: 0 / 0.609 GB, free: 20.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.5249, allocations: 0.8204 MB / 0.6098 GB, free: 20.13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.5254, allocations: 32.55 kB / 0.6098 GB, free: 20.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.5401, allocations: 6.411 MB / 0.6161 GB, free: 17.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5405, allocations: 0.808 MB / 0.6169 GB, free: 16.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.5407, allocations: 32.56 kB / 0.6169 GB, free: 16.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.541, allocations: 132.7 kB / 0.617 GB, free: 16.29 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.541, allocations: 0 / 0.617 GB, free: 16.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.566, allocations: 10.91 MB / 0.6277 GB, free: 7.734 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.5662, allocations: 246.7 kB / 0.6279 GB, free: 7.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.75, allocations: 4 kB / 0.6279 GB, free: 7.48 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)