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.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3099/0.3099, allocations: 80.24 MB / 99.33 MB, free: 5.531 MB / 90.72 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.0007735/0.0007735, allocations: 75.75 kB / 129.3 MB, free: 7.777 MB / 122.7 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.001021/0.001021, allocations: 167.6 kB / 159.4 MB, free: 8.938 MB / 122.7 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 0.8508/0.8508, allocations: 177.1 MB / 366.5 MB, free: 16 MB / 298.7 MB " [Timeout remaining time 179] 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.4248/0.4248, allocations: 60.89 MB / 0.4986 GB, free: 8.016 MB / 426.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6742 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.084e-05, allocations: 2.281 kB / 0.6742 GB, free: 48.44 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.003343/0.003363, allocations: 4.234 MB / 0.6784 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.005085, allocations: 1.375 MB / 0.6797 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.005336, allocations: 7.938 kB / 0.6797 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.005627, allocations: 130.8 kB / 0.6798 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.00602, allocations: 289.8 kB / 0.6801 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.006739, allocations: 0.5413 MB / 0.6806 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.007267, allocations: 1.08 MB / 0.6817 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.007462, allocations: 121.9 kB / 0.6818 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.007894, allocations: 0.6003 MB / 0.6824 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.008235, allocations: 450.7 kB / 0.6828 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.062e-05/0.008306, allocations: 88 kB / 0.6829 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.008486, allocations: 147.9 kB / 0.6831 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.008572, allocations: 223.2 kB / 0.6833 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.008713, allocations: 311 kB / 0.6836 GB, free: 38.83 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.009336, allocations: 1.075 MB / 0.6846 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.00934, allocations: 0 / 0.6846 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/0.009343, allocations: 4 kB / 0.6846 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.009351, allocations: 0 / 0.6846 GB, free: 37.75 MB / 0.5105 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.002035/0.01139, allocations: 1.352 MB / 0.6859 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.01143, allocations: 12.03 kB / 0.686 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.78e-05/0.01151, allocations: 94.7 kB / 0.686 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.01199, allocations: 204.2 kB / 0.6862 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.01252, allocations: 476 kB / 0.6867 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.01259, allocations: 78.95 kB / 0.6868 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.01266, allocations: 56 kB / 0.6868 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.01343, allocations: 0.7683 MB / 0.6876 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.01345, allocations: 3.953 kB / 0.6876 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.01349, allocations: 24 kB / 0.6876 GB, free: 34.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.0135, allocations: 12 kB / 0.6876 GB, free: 34.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.01444, allocations: 0.8287 MB / 0.6884 GB, free: 33.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.01694, allocations: 2.466 MB / 0.6908 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.01793, allocations: 0.7623 MB / 0.6916 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.01834, allocations: 394.5 kB / 0.692 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.0184, allocations: 16.66 kB / 0.692 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.01842, allocations: 43.22 kB / 0.692 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 3.056e-06/0.01842, allocations: 0 / 0.692 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81): time 0.005683/0.0241, allocations: 3.734 MB / 0.6957 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.02414, allocations: 89.7 kB / 0.6957 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.02452, allocations: 0.5378 MB / 0.6963 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.02455, allocations: 41.7 kB / 0.6963 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.02465, allocations: 313.2 kB / 0.6966 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.02476, allocations: 289.4 kB / 0.6969 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.02489, allocations: 126.7 kB / 0.697 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.02495, allocations: 382.8 kB / 0.6974 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.02534, allocations: 353.8 kB / 0.6977 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.02576, allocations: 0.4888 MB / 0.6982 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.02662, allocations: 0.8983 MB / 0.6991 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.02662, allocations: 0 / 0.6991 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002297/0.02892, allocations: 1.712 MB / 0.7007 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.02895, allocations: 8 kB / 0.7007 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02896, allocations: 4 kB / 0.7007 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.03004, allocations: 0.5716 MB / 0.7013 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.03039, allocations: 131.8 kB / 0.7014 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004483/0.03487, allocations: 5.487 MB / 0.7068 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.03539, allocations: 47.91 kB / 0.7068 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.03543, allocations: 27.94 kB / 0.7069 GB, free: 14.31 MB / 0.5105 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.0002165/0.03564, allocations: 205.6 kB / 0.7071 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.03572, allocations: 75.53 kB / 0.7071 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.03795, allocations: 1.677 MB / 0.7088 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.03795, allocations: 8 kB / 0.7088 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.03796, allocations: 4 kB / 0.7088 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.03797, allocations: 7.922 kB / 0.7088 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.0409, allocations: 2.352 MB / 0.7111 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.0409, allocations: 7.938 kB / 0.7111 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.04126, allocations: 111.9 kB / 0.7112 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009493/0.04221, allocations: 0.5547 MB / 0.7117 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.04224, allocations: 16 kB / 0.7117 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00375/0.04599, allocations: 5.059 MB / 0.7167 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.04599, allocations: 0 / 0.7167 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.0487, allocations: 2.314 MB / 0.7189 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.04882, allocations: 75.58 kB / 0.719 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.04888, allocations: 19.98 kB / 0.719 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.04923, allocations: 39.91 kB / 0.7191 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.04941, allocations: 92.8 kB / 0.7192 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.04944, allocations: 16 kB / 0.7192 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002496/0.04969, allocations: 378.8 kB / 0.7195 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04969, allocations: 0 / 0.7195 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005536/0.05024, allocations: 252 kB / 0.7198 GB, free: 0.7461 MB / 0.5105 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.003216/0.05346, allocations: 2.877 MB / 0.7226 GB, free: 13.83 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.05512, allocations: 1.252 MB / 0.7238 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.05513, allocations: 0 / 0.7238 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.05611, allocations: 0.8276 MB / 0.7246 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.05667, allocations: 79.22 kB / 0.7247 GB, free: 11.63 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/0.06612, allocations: 7.965 MB / 0.7325 GB, free: 3.453 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.06636, allocations: 332 kB / 0.7328 GB, free: 3.105 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0002653/0.06663, allocations: 77.06 kB / 0.7329 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.06692, allocations: 256.4 kB / 0.7331 GB, free: 2.773 MB / 0.5262 GB Notification: Performance of SimCode: time 1.222e-06/0.06692, allocations: 0 / 0.7331 GB, free: 2.773 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.102, allocations: 19.93 MB / 0.7526 GB, free: 15.12 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.789, allocations: 0 / 0.7526 GB, free: 15.12 MB / 0.5574 GB " [Timeout remaining time 652] (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: 10.751274760812521] Failed to read output from testmodel.py, exit status != 0: 7.8798892963677645 7.889518272 7.878098233 Calling exit ...