Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6319/0.6319, allocations: 79.74 MB / 96.1 MB, free: 2.777 MB / 78.07 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 102.3 kB / 118.9 MB, free: 6.402 MB / 94.07 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 191.6 kB / 141.8 MB, free: 20.11 MB / 110.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 390.1 MB, free: 10.27 MB / 270.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7464/0.7464, allocations: 62.3 MB / 0.5149 GB, free: 7.508 MB / 398.1 MB " [Timeout remaining time 179] Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) 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 OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003753/0.003753, allocations: 127.8 kB / 0.6731 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6509, allocations: 73.49 MB / 0.7449 GB, free: 14.94 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.006713/0.6577, allocations: 4.322 MB / 0.7491 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.6608, allocations: 1.264 MB / 0.7503 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006336/0.6614, allocations: 8 kB / 0.7503 GB, free: 9.328 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.662, allocations: 126.9 kB / 0.7504 GB, free: 9.203 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007797/0.6627, allocations: 250.2 kB / 0.7507 GB, free: 8.957 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.6641, allocations: 0.5331 MB / 0.7512 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.6653, allocations: 0.8413 MB / 0.752 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.6655, allocations: 117.1 kB / 0.7521 GB, free: 7.453 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.666, allocations: 354.6 kB / 0.7525 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.6667, allocations: 458.1 kB / 0.7529 GB, free: 6.656 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.6668, allocations: 68 kB / 0.753 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.6671, allocations: 132 kB / 0.7531 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.6673, allocations: 171.3 kB / 0.7533 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.6676, allocations: 354.1 kB / 0.7536 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.6687, allocations: 0.8392 MB / 0.7544 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6687, allocations: 0 / 0.7544 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6687, allocations: 3.938 kB / 0.7544 GB, free: 5.102 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6687, allocations: 4 kB / 0.7544 GB, free: 5.098 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003525/0.6722, allocations: 1.237 MB / 0.7556 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6723, allocations: 8.031 kB / 0.7556 GB, free: 3.805 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6724, allocations: 86.7 kB / 0.7557 GB, free: 3.711 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/0.6734, allocations: 188.3 kB / 0.7559 GB, free: 3.527 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.6742, allocations: 0.4894 MB / 0.7564 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.6743, allocations: 62.7 kB / 0.7564 GB, free: 2.93 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.474e-05/0.6744, allocations: 47.98 kB / 0.7565 GB, free: 2.883 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6755, allocations: 0.5505 MB / 0.757 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6755, allocations: 0 / 0.757 GB, free: 2.312 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.6755, allocations: 24 kB / 0.7571 GB, free: 2.289 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6755, allocations: 12 kB / 0.7571 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6766, allocations: 491.6 kB / 0.7575 GB, free: 1.797 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.6803, allocations: 2.089 MB / 0.7596 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.6815, allocations: 0.5874 MB / 0.7601 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.682, allocations: 262.8 kB / 0.7604 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.6821, allocations: 8.422 kB / 0.7604 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6821, allocations: 39 kB / 0.7604 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=51): time 2.385e-06/0.6821, allocations: 0 / 0.7604 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of matching and sorting (n=52): time 0.009514/0.6916, allocations: 2.852 MB / 0.7632 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.6917, allocations: 81.55 kB / 0.7633 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.6924, allocations: 0.4904 MB / 0.7638 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.6925, allocations: 37.7 kB / 0.7638 GB, free: 11.07 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6927, allocations: 292.5 kB / 0.7641 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6929, allocations: 194.3 kB / 0.7643 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.6931, allocations: 90.25 kB / 0.7644 GB, free: 10.49 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6933, allocations: 374.7 kB / 0.7647 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.6938, allocations: 233 kB / 0.7649 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.6944, allocations: 337.1 kB / 0.7653 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.6956, allocations: 0.6012 MB / 0.7659 GB, free: 8.875 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6956, allocations: 0 / 0.7659 GB, free: 8.875 MB / 0.5139 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008129/0.7037, allocations: 1.729 MB / 0.7675 GB, free: 7.137 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.7038, allocations: 8 kB / 0.7676 GB, free: 7.129 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.7038, allocations: 4 kB / 0.7676 GB, free: 7.125 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007351/0.7111, allocations: 1.183 MB / 0.7687 GB, free: 5.938 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.7117, allocations: 95.81 kB / 0.7688 GB, free: 5.844 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.7249, allocations: 6.267 MB / 0.7749 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.7256, allocations: 31.97 kB / 0.775 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.7257, allocations: 20 kB / 0.775 GB, free: 15.25 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.726, allocations: 173.7 kB / 0.7751 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.7262, allocations: 71.61 kB / 0.7752 GB, free: 15 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.7308, allocations: 1.307 MB / 0.7765 GB, free: 13.68 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.7308, allocations: 11.88 kB / 0.7765 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.7308, allocations: 4 kB / 0.7765 GB, free: 13.66 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.7308, allocations: 7.984 kB / 0.7765 GB, free: 13.65 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.7368, allocations: 2.095 MB / 0.7786 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7368, allocations: 0 / 0.7786 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.7373, allocations: 83.89 kB / 0.7786 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002717/0.74, allocations: 0.5905 MB / 0.7792 GB, free: 10.8 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.7401, allocations: 15.94 kB / 0.7792 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008203/0.7483, allocations: 4.738 MB / 0.7839 GB, free: 5.766 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.7483, allocations: 3.984 kB / 0.7839 GB, free: 5.762 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.7537, allocations: 1.781 MB / 0.7856 GB, free: 3.957 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.7539, allocations: 140.8 kB / 0.7857 GB, free: 3.801 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7541, allocations: 12 kB / 0.7857 GB, free: 3.789 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.7547, allocations: 31.97 kB / 0.7858 GB, free: 3.758 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.7549, allocations: 72.28 kB / 0.7858 GB, free: 3.688 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.7549, allocations: 16.31 kB / 0.7859 GB, free: 3.672 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0005025/0.7554, allocations: 354.9 kB / 0.7862 GB, free: 3.328 MB / 0.5295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7554, allocations: 0 / 0.7862 GB, free: 3.328 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0008321/0.7563, allocations: 192 kB / 0.7864 GB, free: 3.141 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005565/0.7618, allocations: 2.337 MB / 0.7887 GB, free: 0.7695 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.7643, allocations: 0.8651 MB / 0.7895 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7643, allocations: 0 / 0.7895 GB, free: 15.89 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.7658, allocations: 0.6521 MB / 0.7901 GB, free: 15.21 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.7665, allocations: 61.61 kB / 0.7902 GB, free: 15.15 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/0.7894, allocations: 7.477 MB / 0.7975 GB, free: 7.508 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.7901, allocations: 0.8833 MB / 0.7984 GB, free: 6.594 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.7905, allocations: 56.36 kB / 0.7984 GB, free: 6.535 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.7909, allocations: 215.3 kB / 0.7986 GB, free: 6.324 MB / 0.5452 GB Notification: Performance of SimCode: time 1.062e-06/0.7909, allocations: 0 / 0.7986 GB, free: 6.324 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.8485, allocations: 18.11 MB / 0.8163 GB, free: 4.457 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.15, allocations: 6.812 kB / 0.8163 GB, free: 4.453 MB / 0.5608 GB " [Timeout remaining time 645] (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.657523442991078] Failed to read output from testmodel.py, exit status != 0: 15.25542112858966 15.280003946 14.606463973 Calling exit ...