Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_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.005159/0.005159, allocations: 107.1 kB / 15.74 MB, free: 5.996 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.294/1.294, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001375/0.001376, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5057/0.5057, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 82.41 kB / 0.5722 GB, free: 33.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 71.28 MB / 0.6418 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003533/0.1281, allocations: 2.8 MB / 0.6446 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1295, allocations: 0.9038 MB / 0.6454 GB, free: 392 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1296, allocations: 4 kB / 0.6454 GB, free: 388 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1299, allocations: 95.27 kB / 0.6455 GB, free: 292 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1302, allocations: 135 kB / 0.6457 GB, free: 156 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009209/0.1311, allocations: 457.2 kB / 0.6461 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.1315, allocations: 418.3 kB / 0.6465 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1317, allocations: 91.86 kB / 0.6466 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1318, allocations: 171.2 kB / 0.6468 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.1321, allocations: 231 kB / 0.647 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.1322, allocations: 32 kB / 0.647 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1323, allocations: 91.92 kB / 0.6471 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1324, allocations: 87.61 kB / 0.6472 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1326, allocations: 190.9 kB / 0.6474 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.133, allocations: 499.1 kB / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1331, allocations: 0 / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1331, allocations: 0 / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1331, allocations: 0 / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00268/0.1358, allocations: 1.013 MB / 0.6488 GB, free: 12.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1358, allocations: 8.031 kB / 0.6488 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.1359, allocations: 66.66 kB / 0.6489 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.1374, allocations: 264.2 kB / 0.6491 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1378, allocations: 343.9 kB / 0.6495 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.861e-05/0.1379, allocations: 83.89 kB / 0.6496 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.138, allocations: 27.91 kB / 0.6496 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1386, allocations: 368.8 kB / 0.6499 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1387, allocations: 4 kB / 0.6499 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1387, allocations: 7.938 kB / 0.6499 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1387, allocations: 8 kB / 0.6499 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.1394, allocations: 369.9 kB / 0.6503 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1411, allocations: 1.018 MB / 0.6513 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/0.1472, allocations: 1.356 MB / 0.6526 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.1477, allocations: 260.8 kB / 0.6529 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.1478, allocations: 4 kB / 0.6529 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1478, allocations: 38.55 kB / 0.6529 GB, free: 8.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.1478, allocations: 0 / 0.6529 GB, free: 8.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.00609/0.1539, allocations: 1.988 MB / 0.6549 GB, free: 6.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.154, allocations: 59.34 kB / 0.6549 GB, free: 6.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1543, allocations: 316.6 kB / 0.6552 GB, free: 6.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.1543, allocations: 33.64 kB / 0.6552 GB, free: 6.047 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1545, allocations: 184.6 kB / 0.6554 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1546, allocations: 118.4 kB / 0.6555 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1547, allocations: 45.98 kB / 0.6556 GB, free: 5.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1548, allocations: 346.8 kB / 0.6559 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.1553, allocations: 220.4 kB / 0.6561 GB, free: 5.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.1557, allocations: 221 kB / 0.6563 GB, free: 4.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/0.1566, allocations: 470.9 kB / 0.6568 GB, free: 4.449 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1566, allocations: 0 / 0.6568 GB, free: 4.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003754/0.1604, allocations: 1.256 MB / 0.658 GB, free: 3.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1604, allocations: 9.406 kB / 0.658 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1604, allocations: 0 / 0.658 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.1633, allocations: 0.7516 MB / 0.6587 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.1635, allocations: 31.92 kB / 0.6588 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005527/0.169, allocations: 3.133 MB / 0.6618 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.1695, allocations: 47.86 kB / 0.6619 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.1695, allocations: 8 kB / 0.6619 GB, free: 15.05 MB / 478.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 (21): * Single equations (assignments): 18 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.1697, allocations: 141.8 kB / 0.662 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.1698, allocations: 43.53 kB / 0.6621 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.1734, allocations: 1.214 MB / 0.6633 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1734, allocations: 15.92 kB / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1734, allocations: 0 / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1734, allocations: 0 / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.174, allocations: 0.5167 MB / 0.6638 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.174, allocations: 7.938 kB / 0.6638 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.1742, allocations: 27.98 kB / 0.6638 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.1765, allocations: 0.6736 MB / 0.6645 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.1765, allocations: 4 kB / 0.6645 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/0.1807, allocations: 2.684 MB / 0.6671 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1807, allocations: 0 / 0.6671 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004083/0.1848, allocations: 1.583 MB / 0.6686 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.1849, allocations: 120.6 kB / 0.6687 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.185, allocations: 4 kB / 0.6688 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.1853, allocations: 31.97 kB / 0.6688 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.1856, allocations: 83.88 kB / 0.6689 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1856, allocations: 11.98 kB / 0.6689 GB, free: 7.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.1858, allocations: 227.1 kB / 0.6691 GB, free: 7.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1858, allocations: 4.062 kB / 0.6691 GB, free: 7.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.1863, allocations: 143.8 kB / 0.6692 GB, free: 7.254 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * 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.004461/0.1908, allocations: 2.129 MB / 0.6713 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.1931, allocations: 0.9864 MB / 0.6723 GB, free: 4.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1931, allocations: 0 / 0.6723 GB, free: 4.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.1947, allocations: 0.7094 MB / 0.673 GB, free: 3.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.195, allocations: 34.38 kB / 0.673 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.2107, allocations: 5.635 MB / 0.6785 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.2111, allocations: 0.7912 MB / 0.6793 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.371e-05/0.2112, allocations: 26.22 kB / 0.6793 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.2113, allocations: 107.4 kB / 0.6794 GB, free: 12.57 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2113, allocations: 0 / 0.6794 GB, free: 12.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.2455, allocations: 11.5 MB / 0.6906 GB, free: 1.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.66, allocations: 15.98 kB / 0.6907 GB, free: 1.207 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)