Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0/package.mo): time 0.1115/0.1115, allocations: 12.2 MB / 27.16 MB, free: 116 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.000903/0.000903, allocations: 104.3 kB / 30.66 MB, free: 6.43 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.405/1.405, allocations: 205.4 MB / 239.5 MB, free: 10.86 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.001197/0.001197, allocations: 185.1 kB / 290.6 MB, free: 8.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4942/0.4942, allocations: 78.5 MB / 420.1 MB, free: 6.648 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.0008846/0.0008846, allocations: 34.55 kB / 0.4895 GB, free: 38.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1559, allocations: 69.24 MB / 0.5571 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002772/0.1587, allocations: 2.345 MB / 0.5594 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1601, allocations: 0.9092 MB / 0.5603 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1602, allocations: 4 kB / 0.5603 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1605, allocations: 67.58 kB / 0.5604 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1607, allocations: 123.6 kB / 0.5605 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.1616, allocations: 370.6 kB / 0.5608 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.162, allocations: 267.4 kB / 0.5611 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1622, allocations: 81.36 kB / 0.5612 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.1624, allocations: 147.4 kB / 0.5613 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.1627, allocations: 195.2 kB / 0.5615 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1628, allocations: 20 kB / 0.5615 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1629, allocations: 67.89 kB / 0.5616 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.163, allocations: 67.67 kB / 0.5616 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.163, allocations: 81.52 kB / 0.5617 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.1634, allocations: 347.4 kB / 0.562 GB, free: 3.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1634, allocations: 0 / 0.562 GB, free: 3.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1634, allocations: 0 / 0.562 GB, free: 3.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1634, allocations: 0 / 0.562 GB, free: 3.742 MB / 382.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.002793/0.1662, allocations: 0.9781 MB / 0.563 GB, free: 2.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1662, allocations: 15.98 kB / 0.563 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/0.1663, allocations: 62.53 kB / 0.5631 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.168, allocations: 259.3 kB / 0.5633 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1684, allocations: 334.8 kB / 0.5636 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1686, allocations: 95.89 kB / 0.5637 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.1686, allocations: 24 kB / 0.5638 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.1694, allocations: 384.8 kB / 0.5641 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1694, allocations: 0 / 0.5641 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1695, allocations: 12 kB / 0.5641 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1695, allocations: 4 kB / 0.5641 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.1703, allocations: 386 kB / 0.5645 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1721, allocations: 1.057 MB / 0.5655 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/0.1793, allocations: 1.817 MB / 0.5673 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.176e-05/0.1794, allocations: 7.938 kB / 0.5673 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1795, allocations: 46.5 kB / 0.5674 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 3.948e-06/0.1795, allocations: 0 / 0.5674 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.007215/0.1867, allocations: 2.381 MB / 0.5697 GB, free: 11.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.1868, allocations: 55.41 kB / 0.5697 GB, free: 11.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1872, allocations: 312.6 kB / 0.57 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1872, allocations: 37.7 kB / 0.5701 GB, free: 11.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.1874, allocations: 188.6 kB / 0.5703 GB, free: 11.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1875, allocations: 106.4 kB / 0.5704 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.1875, allocations: 4 kB / 0.5704 GB, free: 10.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1877, allocations: 346.8 kB / 0.5707 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.1882, allocations: 240.5 kB / 0.5709 GB, free: 10.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.1886, allocations: 245 kB / 0.5712 GB, free: 10.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.1892, allocations: 253.8 kB / 0.5714 GB, free: 9.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1892, allocations: 0 / 0.5714 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004395/0.1936, allocations: 1.498 MB / 0.5729 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.1936, allocations: 10.66 kB / 0.5729 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1937, allocations: 4 kB / 0.5729 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.1969, allocations: 0.8845 MB / 0.5737 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1971, allocations: 27.98 kB / 0.5738 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.2028, allocations: 3.179 MB / 0.5769 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.2034, allocations: 59.72 kB / 0.5769 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2034, allocations: 8 kB / 0.5769 GB, free: 4.043 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.2037, allocations: 157.7 kB / 0.5771 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.2037, allocations: 31.62 kB / 0.5771 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.2079, allocations: 1.453 MB / 0.5785 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.2079, allocations: 4 kB / 0.5785 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.2079, allocations: 0 / 0.5785 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.208, allocations: 4 kB / 0.5785 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.2086, allocations: 0.5165 MB / 0.579 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2086, allocations: 0 / 0.579 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.2088, allocations: 35.92 kB / 0.5791 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002683/0.2115, allocations: 0.7987 MB / 0.5799 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.2116, allocations: 8 kB / 0.5799 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00464/0.2162, allocations: 2.734 MB / 0.5825 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2162, allocations: 0 / 0.5825 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/0.2209, allocations: 1.825 MB / 0.5843 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.2211, allocations: 124.6 kB / 0.5844 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.2211, allocations: 4 kB / 0.5844 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.2216, allocations: 48.06 kB / 0.5845 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.2218, allocations: 99.73 kB / 0.5846 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.2219, allocations: 8 kB / 0.5846 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.2221, allocations: 231 kB / 0.5848 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2222, allocations: 4 kB / 0.5848 GB, free: 11.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.2227, allocations: 135.8 kB / 0.5849 GB, free: 11.57 MB / 414.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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004969/0.2277, allocations: 2.382 MB / 0.5873 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.2302, allocations: 1.088 MB / 0.5883 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2302, allocations: 8 kB / 0.5883 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.232, allocations: 0.795 MB / 0.5891 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2323, allocations: 21.42 kB / 0.5891 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.2445, allocations: 3.834 MB / 0.5929 GB, free: 3.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2449, allocations: 0.7951 MB / 0.5937 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.245, allocations: 22.28 kB / 0.5937 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.2452, allocations: 103.4 kB / 0.5938 GB, free: 2.285 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.2452, allocations: 0 / 0.5938 GB, free: 2.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2703, allocations: 10.16 MB / 0.6037 GB, free: 8.297 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.2707, allocations: 236.7 kB / 0.6039 GB, free: 8.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.117, allocations: 0 / 0.6039 GB, free: 8.047 MB / 430.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1) Environment - environmentSimulation: