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.449/0.449, allocations: 79.74 MB / 98.57 MB, free: 6.438 MB / 78.07 MB " [Timeout remaining time 179] 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.001578/0.001578, allocations: 113.8 kB / 121.7 MB, free: 32 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.002178/0.002178, allocations: 209.7 kB / 145 MB, free: 3.367 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.836/1.836, allocations: 230.6 MB / 398.6 MB, free: 15.86 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 1.057/1.057, allocations: 62.42 MB / 0.5248 GB, free: 9.082 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.003926/0.003926, allocations: 136.1 kB / 0.6871 GB, free: 33.87 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1709, allocations: 74.7 MB / 0.7601 GB, free: 12.87 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.007392/0.1783, allocations: 4.741 MB / 0.7647 GB, free: 8.098 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1817, allocations: 1.434 MB / 0.7661 GB, free: 6.656 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.1822, allocations: 4 kB / 0.7661 GB, free: 6.652 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.1827, allocations: 138.7 kB / 0.7662 GB, free: 6.516 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0007724/0.1835, allocations: 278 kB / 0.7665 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1849, allocations: 0.5567 MB / 0.767 GB, free: 5.688 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.1865, allocations: 1.049 MB / 0.7681 GB, free: 4.633 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004427/0.1869, allocations: 130.1 kB / 0.7682 GB, free: 4.492 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/0.1877, allocations: 442.5 kB / 0.7686 GB, free: 4.059 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000885/0.1886, allocations: 0.5447 MB / 0.7691 GB, free: 3.512 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1888, allocations: 92 kB / 0.7692 GB, free: 3.422 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.1891, allocations: 152 kB / 0.7694 GB, free: 3.273 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.1895, allocations: 215.2 kB / 0.7696 GB, free: 3.062 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0004599/0.1899, allocations: 433.7 kB / 0.77 GB, free: 2.637 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1914, allocations: 1.023 MB / 0.771 GB, free: 1.609 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1914, allocations: 0 / 0.771 GB, free: 1.609 MB / 0.5138 GB Notification: Performance of FrontEnd: time 3.897e-06/0.1914, allocations: 3.984 kB / 0.771 GB, free: 1.605 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.1914, allocations: 4 kB / 0.771 GB, free: 1.602 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.004761/0.1962, allocations: 1.366 MB / 0.7723 GB, free: 204 kB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1962, allocations: 11.98 kB / 0.7723 GB, free: 192 kB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.1963, allocations: 102.7 kB / 0.7724 GB, free: 80 kB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1974, allocations: 208.2 kB / 0.7726 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.1984, allocations: 476 kB / 0.7731 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.1985, allocations: 79.02 kB / 0.7732 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1986, allocations: 59.95 kB / 0.7732 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.2002, allocations: 0.7606 MB / 0.774 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.2003, allocations: 3.938 kB / 0.774 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.2004, allocations: 28 kB / 0.774 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.2004, allocations: 12 kB / 0.774 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.2024, allocations: 0.8327 MB / 0.7748 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.2077, allocations: 2.8 MB / 0.7776 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.2097, allocations: 0.7614 MB / 0.7783 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008756/0.2106, allocations: 391.5 kB / 0.7787 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.192e-05/0.2107, allocations: 12.59 kB / 0.7787 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.2107, allocations: 47.16 kB / 0.7787 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 2.875e-06/0.2107, allocations: 0 / 0.7787 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.0122/0.2229, allocations: 3.738 MB / 0.7824 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.223, allocations: 89.77 kB / 0.7825 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.2239, allocations: 0.5263 MB / 0.783 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.975e-05/0.224, allocations: 33.7 kB / 0.783 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.2243, allocations: 313.1 kB / 0.7833 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.2245, allocations: 297.5 kB / 0.7836 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.2248, allocations: 126.7 kB / 0.7837 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002777/0.2251, allocations: 374.8 kB / 0.7841 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000862/0.2259, allocations: 357.8 kB / 0.7844 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009076/0.2268, allocations: 0.4927 MB / 0.7849 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.2287, allocations: 0.8906 MB / 0.7858 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2287, allocations: 0 / 0.7858 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005363/0.234, allocations: 1.708 MB / 0.7874 GB, free: 336 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.2341, allocations: 8.312 kB / 0.7874 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.2341, allocations: 11.94 kB / 0.7875 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.2365, allocations: 0.5782 MB / 0.788 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.2373, allocations: 123.8 kB / 0.7881 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.248, allocations: 5.578 MB / 0.7936 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.2492, allocations: 47.97 kB / 0.7936 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.2492, allocations: 31.98 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.0004462/0.2497, allocations: 194.5 kB / 0.7938 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.2499, allocations: 75.61 kB / 0.7939 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/0.2548, allocations: 1.685 MB / 0.7956 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.2548, allocations: 12 kB / 0.7956 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.2548, allocations: 4 kB / 0.7956 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.2548, allocations: 3.984 kB / 0.7956 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.2615, allocations: 2.627 MB / 0.7981 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2615, allocations: 0 / 0.7981 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.2624, allocations: 115.9 kB / 0.7983 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.2645, allocations: 0.5514 MB / 0.7988 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.2646, allocations: 19.94 kB / 0.7988 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00925/0.2739, allocations: 5.136 MB / 0.8038 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2739, allocations: 4.062 kB / 0.8038 GB, free: 14.95 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006009/0.2799, allocations: 2.322 MB / 0.8061 GB, free: 12.6 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.2801, allocations: 67.58 kB / 0.8062 GB, free: 12.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2802, allocations: 16.3 kB / 0.8062 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.2811, allocations: 47.97 kB / 0.8062 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.2814, allocations: 92.42 kB / 0.8063 GB, free: 12.38 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.2815, allocations: 24.03 kB / 0.8063 GB, free: 12.36 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0005119/0.282, allocations: 382.8 kB / 0.8067 GB, free: 11.99 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/0.282, allocations: 4 kB / 0.8067 GB, free: 11.98 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.000932/0.2829, allocations: 248 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.006433/0.2894, allocations: 2.875 MB / 0.8097 GB, free: 8.832 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.2924, allocations: 1.248 MB / 0.811 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2924, allocations: 320 / 0.811 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.2942, allocations: 0.8347 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.0008487/0.2951, allocations: 80.89 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.01694/0.312, allocations: 8.08 MB / 0.8198 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.3127, allocations: 0.924 MB / 0.8207 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0004249/0.3132, allocations: 73.08 kB / 0.8207 GB, free: 13.31 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/0.3136, allocations: 259.3 kB / 0.821 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of SimCode: time 2.234e-06/0.3136, allocations: 0 / 0.821 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09257/0.4062, allocations: 18.96 MB / 0.8395 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/16.66, allocations: 0 / 0.8395 GB, free: 10.27 MB / 0.5919 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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: 22.12528327399923] Failed to read output from testmodel.py, exit status != 0: 16.773749109001074 16.790612694 16.595922123 Calling exit ...