Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_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/Complex 4.0.0+maint.om/package.mo): time 0.0009301/0.0009306, allocations: 180.6 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 239.5 MB, free: 15.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008488/0.0008489, allocations: 103.8 kB / 290.6 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4742/0.4742, allocations: 78.62 MB / 420.4 MB, free: 36.26 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 12.31 kB / 0.4889 GB, free: 6.766 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 69.36 MB / 0.5566 GB, free: 1.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003143/0.1214, allocations: 2.829 MB / 0.5594 GB, free: 14.49 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1235, allocations: 0.9707 MB / 0.5603 GB, free: 13.52 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.1239, allocations: 4 kB / 0.5603 GB, free: 13.51 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.1242, allocations: 75.58 kB / 0.5604 GB, free: 13.44 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.1247, allocations: 139.1 kB / 0.5605 GB, free: 13.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1258, allocations: 438.3 kB / 0.5609 GB, free: 12.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.1265, allocations: 0.5137 MB / 0.5614 GB, free: 12.36 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1267, allocations: 65.41 kB / 0.5615 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.127, allocations: 207 kB / 0.5617 GB, free: 12.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.1273, allocations: 274.7 kB / 0.562 GB, free: 11.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1274, allocations: 24 kB / 0.562 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1276, allocations: 83.89 kB / 0.5621 GB, free: 11.71 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1276, allocations: 91.52 kB / 0.5622 GB, free: 11.62 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1278, allocations: 236.4 kB / 0.5624 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.1283, allocations: 0.5566 MB / 0.5629 GB, free: 10.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1283, allocations: 0 / 0.5629 GB, free: 10.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1283, allocations: 0 / 0.5629 GB, free: 10.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1284, allocations: 0 / 0.5629 GB, free: 10.82 MB / 442.7 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.003003/0.1314, allocations: 1.103 MB / 0.564 GB, free: 9.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1314, allocations: 12.03 kB / 0.564 GB, free: 9.656 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.104e-05/0.1315, allocations: 66.72 kB / 0.5641 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.133, allocations: 272.1 kB / 0.5643 GB, free: 9.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.1336, allocations: 422 kB / 0.5647 GB, free: 8.867 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.1337, allocations: 91.89 kB / 0.5648 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/0.1338, allocations: 39.89 kB / 0.5649 GB, free: 8.727 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.1346, allocations: 428.7 kB / 0.5653 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1346, allocations: 0 / 0.5653 GB, free: 8.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.1346, allocations: 12 kB / 0.5653 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.1346, allocations: 8 kB / 0.5653 GB, free: 8.285 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.1354, allocations: 414 kB / 0.5657 GB, free: 7.879 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.1373, allocations: 1.162 MB / 0.5668 GB, free: 6.664 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.144, allocations: 1.837 MB / 0.5686 GB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.1446, allocations: 308.8 kB / 0.5689 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.983e-05/0.1447, allocations: 7.984 kB / 0.5689 GB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1447, allocations: 38.5 kB / 0.5689 GB, free: 4.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.1447, allocations: 0 / 0.5689 GB, free: 4.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.006349/0.1511, allocations: 2.392 MB / 0.5713 GB, free: 1.992 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1511, allocations: 59.34 kB / 0.5713 GB, free: 1.922 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.1516, allocations: 421.7 kB / 0.5717 GB, free: 1.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.1517, allocations: 33.7 kB / 0.5718 GB, free: 1.461 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1518, allocations: 212.6 kB / 0.572 GB, free: 1.246 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1519, allocations: 130.1 kB / 0.5721 GB, free: 1.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.152, allocations: 33.7 kB / 0.5721 GB, free: 1.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1521, allocations: 350.8 kB / 0.5725 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.1527, allocations: 259.9 kB / 0.5727 GB, free: 484 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.1532, allocations: 275.6 kB / 0.573 GB, free: 208 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2381/0.3913, allocations: 0.5464 MB / 0.5735 GB, free: 45.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3913, allocations: 0.9375 kB / 0.5735 GB, free: 45.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00453/0.3959, allocations: 1.615 MB / 0.5751 GB, free: 45.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3959, allocations: 4.094 kB / 0.5751 GB, free: 45.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3959, allocations: 3.281 kB / 0.5751 GB, free: 45.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003443/0.3994, allocations: 1.007 MB / 0.5761 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.3996, allocations: 42.28 kB / 0.5761 GB, free: 45.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.4055, allocations: 3.286 MB / 0.5793 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.406, allocations: 63.39 kB / 0.5794 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.4061, allocations: 10.59 kB / 0.5794 GB, free: 44.02 MB / 442.7 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.0001921/0.4063, allocations: 156.7 kB / 0.5796 GB, free: 43.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.4064, allocations: 46.88 kB / 0.5796 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.41, allocations: 1.465 MB / 0.581 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.41, allocations: 9.5 kB / 0.581 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4101, allocations: 2.062 kB / 0.581 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.4101, allocations: 3.469 kB / 0.581 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.4107, allocations: 0.5461 MB / 0.5816 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4107, allocations: 3.938 kB / 0.5816 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.411, allocations: 33.77 kB / 0.5816 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.4131, allocations: 0.75 MB / 0.5823 GB, free: 43.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.4132, allocations: 11.64 kB / 0.5824 GB, free: 43.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.4169, allocations: 2.531 MB / 0.5848 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.417, allocations: 0 / 0.5848 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.4215, allocations: 1.88 MB / 0.5867 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4217, allocations: 129.3 kB / 0.5868 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.4218, allocations: 9.203 kB / 0.5868 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.4223, allocations: 45.88 kB / 0.5868 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.4226, allocations: 89.36 kB / 0.5869 GB, free: 41.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.4226, allocations: 10.09 kB / 0.5869 GB, free: 41.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003197/0.423, allocations: 308.7 kB / 0.5872 GB, free: 41.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.423, allocations: 0 / 0.5872 GB, free: 41.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.4235, allocations: 144.7 kB / 0.5874 GB, free: 41.69 MB / 442.7 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.004645/0.4282, allocations: 2.424 MB / 0.5897 GB, free: 40.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.4311, allocations: 1.223 MB / 0.5909 GB, free: 40.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4311, allocations: 0 / 0.5909 GB, free: 40.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.4331, allocations: 0.8245 MB / 0.5917 GB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.4337, allocations: 35.97 kB / 0.5918 GB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.4475, allocations: 6.859 MB / 0.5985 GB, free: 37.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.4478, allocations: 0.8193 MB / 0.5993 GB, free: 36.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.448, allocations: 33.7 kB / 0.5993 GB, free: 36.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4482, allocations: 141.6 kB / 0.5994 GB, free: 36.77 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4482, allocations: 0 / 0.5994 GB, free: 36.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.4771, allocations: 11.59 MB / 0.6108 GB, free: 36.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.4773, allocations: 259.9 kB / 0.611 GB, free: 35.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.78, allocations: 3.391 kB / 0.611 GB, free: 35.98 MB / 442.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)