Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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.4223/0.4223, allocations: 79.75 MB / 98.58 MB, free: 6.441 MB / 78.07 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 114 kB / 121.7 MB, free: 28 kB / 94.07 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 223.2 kB / 145 MB, free: 3.379 MB / 110.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 398.7 MB, free: 15.83 MB / 286.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/package.mo): time 0.9145/0.9145, allocations: 62.41 MB / 0.5248 GB, free: 9.039 MB / 382.1 MB " [Timeout remaining time 179] Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIMDML requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIMDML requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003934/0.003934, allocations: 141.7 kB / 0.6871 GB, free: 33.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1367, allocations: 74.71 MB / 0.7601 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006908/0.1436, allocations: 4.733 MB / 0.7647 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1472, allocations: 1.433 MB / 0.7661 GB, free: 6.66 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.1476, allocations: 11.94 kB / 0.7661 GB, free: 6.648 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.1481, allocations: 138.8 kB / 0.7662 GB, free: 6.512 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.1487, allocations: 274 kB / 0.7665 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1499, allocations: 0.5571 MB / 0.767 GB, free: 5.684 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1513, allocations: 1.045 MB / 0.7681 GB, free: 4.633 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.1516, allocations: 126.1 kB / 0.7682 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007545/0.1523, allocations: 442.5 kB / 0.7686 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.1532, allocations: 0.5448 MB / 0.7691 GB, free: 3.516 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.1533, allocations: 92 kB / 0.7692 GB, free: 3.426 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.1537, allocations: 156 kB / 0.7694 GB, free: 3.273 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1539, allocations: 215.2 kB / 0.7696 GB, free: 3.062 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.1543, allocations: 437.8 kB / 0.77 GB, free: 2.633 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.1557, allocations: 1.027 MB / 0.771 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1557, allocations: 0 / 0.771 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.435e-06/0.1557, allocations: 0 / 0.771 GB, free: 1.602 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.1557, allocations: 3.938 kB / 0.771 GB, free: 1.598 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004736/0.1605, allocations: 1.366 MB / 0.7723 GB, free: 200 kB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.1605, allocations: 11.98 kB / 0.7723 GB, free: 188 kB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.1607, allocations: 102.7 kB / 0.7724 GB, free: 76 kB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.1617, allocations: 204.2 kB / 0.7726 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.1628, allocations: 476 kB / 0.7731 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.1629, allocations: 75 kB / 0.7732 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.163, allocations: 59.95 kB / 0.7732 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1646, allocations: 0.7683 MB / 0.774 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.1647, allocations: 4 kB / 0.774 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.1647, allocations: 28 kB / 0.774 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.1648, allocations: 12 kB / 0.774 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.1666, allocations: 0.8365 MB / 0.7748 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.1719, allocations: 2.796 MB / 0.7776 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.1738, allocations: 0.7573 MB / 0.7783 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/0.1746, allocations: 391.5 kB / 0.7787 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.696e-05/0.1747, allocations: 16.62 kB / 0.7787 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1747, allocations: 43.22 kB / 0.7787 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.1747, allocations: 4 kB / 0.7787 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.01201/0.1867, allocations: 3.734 MB / 0.7824 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.1868, allocations: 89.7 kB / 0.7825 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.1876, allocations: 0.5302 MB / 0.783 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.1876, allocations: 33.7 kB / 0.783 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.1879, allocations: 313.1 kB / 0.7833 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.1882, allocations: 297.4 kB / 0.7836 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.1885, allocations: 122.7 kB / 0.7837 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1887, allocations: 378.8 kB / 0.7841 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.1895, allocations: 361.8 kB / 0.7844 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.1903, allocations: 0.4927 MB / 0.7849 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.192, allocations: 0.8867 MB / 0.7858 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.192, allocations: 4 kB / 0.7858 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005007/0.197, allocations: 1.7 MB / 0.7874 GB, free: 336 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.1971, allocations: 8 kB / 0.7874 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.1971, allocations: 7.938 kB / 0.7874 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.1994, allocations: 0.5746 MB / 0.788 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.2002, allocations: 131.8 kB / 0.7881 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009859/0.2101, allocations: 5.581 MB / 0.7936 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.211, allocations: 51.95 kB / 0.7936 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.2111, allocations: 28.06 kB / 0.7937 GB, free: 9.711 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003614/0.2115, allocations: 194.5 kB / 0.7938 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.2116, allocations: 71.53 kB / 0.7939 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00492/0.2166, allocations: 1.689 MB / 0.7956 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.2166, allocations: 12.03 kB / 0.7956 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2166, allocations: 4 kB / 0.7956 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.2166, allocations: 7.969 kB / 0.7956 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.223, allocations: 2.627 MB / 0.7981 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.223, allocations: 0 / 0.7981 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.2238, allocations: 115.8 kB / 0.7983 GB, free: 4.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002123/0.2259, allocations: 0.5515 MB / 0.7988 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.226, allocations: 19.94 kB / 0.7988 GB, free: 4.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/0.2348, allocations: 5.148 MB / 0.8038 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2348, allocations: 0 / 0.8038 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006061/0.2409, allocations: 2.314 MB / 0.8061 GB, free: 12.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.2411, allocations: 71.56 kB / 0.8062 GB, free: 12.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.2412, allocations: 12.31 kB / 0.8062 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007927/0.242, allocations: 43.97 kB / 0.8062 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.2423, allocations: 92.48 kB / 0.8063 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.2424, allocations: 27.92 kB / 0.8063 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0004872/0.2428, allocations: 378.8 kB / 0.8067 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/0.2428, allocations: 0 / 0.8067 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0008515/0.2437, allocations: 252 kB / 0.8069 GB, free: 11.74 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,DPIM.Rotor_Inertia.w,DPIM.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 (58): * Single equations (assignments): 56 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006301/0.25, allocations: 2.871 MB / 0.8097 GB, free: 8.836 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.2529, allocations: 1.252 MB / 0.811 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2529, allocations: 0 / 0.811 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.2548, allocations: 0.835 MB / 0.8118 GB, free: 6.699 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.2555, allocations: 80.88 kB / 0.8119 GB, free: 6.625 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.2725, allocations: 8.088 MB / 0.8198 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.2731, allocations: 0.924 MB / 0.8207 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0004069/0.2735, allocations: 73.09 kB / 0.8207 GB, free: 13.3 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.2739, allocations: 255.3 kB / 0.821 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of SimCode: time 7.62e-07/0.2739, allocations: 0 / 0.821 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.3366, allocations: 18.95 MB / 0.8395 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/15.82, allocations: 0 / 0.8395 GB, free: 10.28 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.31824259692803] Failed to read output from testmodel.py, exit status != 0: 15.943108406849205 15.97293378 15.811085651 Calling exit ...