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.4886/0.4886, allocations: 79.75 MB / 96.1 MB, free: 2.773 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.001213/0.001213, allocations: 118 kB / 118.9 MB, free: 6.406 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.001379/0.001379, allocations: 189.7 kB / 141.8 MB, free: 20.13 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.537/1.537, allocations: 225.6 MB / 390.1 MB, free: 10.24 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.7322/0.7322, allocations: 62.29 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.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 0.003776/0.003776, allocations: 143.8 kB / 0.6731 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6551/0.6589, allocations: 73.49 MB / 0.7449 GB, free: 14.94 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006958/0.6658, allocations: 4.696 MB / 0.7494 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.6692, allocations: 1.395 MB / 0.7508 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.6696, allocations: 4 kB / 0.7508 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.6701, allocations: 130.7 kB / 0.7509 GB, free: 8.695 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.6708, allocations: 282 kB / 0.7512 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.6722, allocations: 0.5998 MB / 0.7518 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.6735, allocations: 1.049 MB / 0.7528 GB, free: 6.762 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.6738, allocations: 133.3 kB / 0.7529 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006179/0.6744, allocations: 430.5 kB / 0.7534 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.6752, allocations: 0.5447 MB / 0.7539 GB, free: 5.648 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.6754, allocations: 88 kB / 0.754 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.6757, allocations: 152 kB / 0.7541 GB, free: 5.414 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.676, allocations: 215.2 kB / 0.7543 GB, free: 5.203 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003925/0.6763, allocations: 433.8 kB / 0.7547 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.6776, allocations: 1.026 MB / 0.7557 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6776, allocations: 4 kB / 0.7557 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6776, allocations: 0 / 0.7557 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.6776, allocations: 4 kB / 0.7557 GB, free: 3.742 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.004507/0.6821, allocations: 1.425 MB / 0.7571 GB, free: 2.262 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.6822, allocations: 12.03 kB / 0.7571 GB, free: 2.25 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.6823, allocations: 102.7 kB / 0.7572 GB, free: 2.141 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6834, allocations: 200.2 kB / 0.7574 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.6843, allocations: 0.5381 MB / 0.758 GB, free: 1.367 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.6844, allocations: 79.02 kB / 0.758 GB, free: 1.285 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6845, allocations: 56 kB / 0.7581 GB, free: 1.23 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.686, allocations: 0.7606 MB / 0.7588 GB, free: 452 kB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.686, allocations: 15.88 kB / 0.7588 GB, free: 436 kB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.6861, allocations: 20 kB / 0.7589 GB, free: 416 kB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.6861, allocations: 16 kB / 0.7589 GB, free: 400 kB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.6879, allocations: 0.8328 MB / 0.7597 GB, free: 15.55 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.6929, allocations: 2.859 MB / 0.7625 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.6949, allocations: 1.048 MB / 0.7635 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.6957, allocations: 399 kB / 0.7639 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.732e-05/0.6958, allocations: 12.64 kB / 0.7639 GB, free: 11.03 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.6959, allocations: 47.16 kB / 0.7639 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=80): time 1.974e-06/0.6959, allocations: 0 / 0.7639 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of matching and sorting (n=81): time 0.01145/0.7073, allocations: 3.892 MB / 0.7678 GB, free: 7 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.7074, allocations: 89.75 kB / 0.7678 GB, free: 6.895 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.7081, allocations: 0.5223 MB / 0.7683 GB, free: 6.367 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.7081, allocations: 37.7 kB / 0.7684 GB, free: 6.324 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.7084, allocations: 313.1 kB / 0.7687 GB, free: 6.012 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.7087, allocations: 297.5 kB / 0.769 GB, free: 5.719 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.7089, allocations: 130.6 kB / 0.7691 GB, free: 5.586 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.7091, allocations: 374.8 kB / 0.7694 GB, free: 5.211 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.7099, allocations: 357.8 kB / 0.7698 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008638/0.7107, allocations: 0.5004 MB / 0.7703 GB, free: 4.312 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.7124, allocations: 0.8867 MB / 0.7711 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7124, allocations: 0 / 0.7711 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004769/0.7171, allocations: 1.704 MB / 0.7728 GB, free: 1.656 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.7172, allocations: 8.312 kB / 0.7728 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7172, allocations: 11.94 kB / 0.7728 GB, free: 1.637 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.7194, allocations: 0.5758 MB / 0.7734 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.7201, allocations: 131.8 kB / 0.7735 GB, free: 0.9258 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009869/0.73, allocations: 5.777 MB / 0.7792 GB, free: 10.87 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.731, allocations: 47.97 kB / 0.7792 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.7311, allocations: 28 kB / 0.7792 GB, free: 10.79 MB / 0.5295 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.0003421/0.7314, allocations: 189.8 kB / 0.7794 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.7316, allocations: 79.53 kB / 0.7795 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.7363, allocations: 1.689 MB / 0.7811 GB, free: 8.812 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.7363, allocations: 12 kB / 0.7811 GB, free: 8.801 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7363, allocations: 4 kB / 0.7811 GB, free: 8.797 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7363, allocations: 3.984 kB / 0.7812 GB, free: 8.793 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/0.7426, allocations: 2.647 MB / 0.7837 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7426, allocations: 0 / 0.7837 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/0.7433, allocations: 115.9 kB / 0.7838 GB, free: 5.945 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001992/0.7453, allocations: 0.5518 MB / 0.7844 GB, free: 5.387 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.7454, allocations: 15.94 kB / 0.7844 GB, free: 5.371 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008707/0.7541, allocations: 5.359 MB / 0.7896 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7541, allocations: 4 kB / 0.7896 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005712/0.7598, allocations: 2.318 MB / 0.7919 GB, free: 13.39 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.76, allocations: 152.6 kB / 0.792 GB, free: 13.22 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.7602, allocations: 16.31 kB / 0.7921 GB, free: 13.2 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007274/0.7609, allocations: 39.97 kB / 0.7921 GB, free: 13.16 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.7612, allocations: 92.47 kB / 0.7922 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.7612, allocations: 23.94 kB / 0.7922 GB, free: 13.05 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.0005034/0.7617, allocations: 382.8 kB / 0.7926 GB, free: 12.68 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7e-08/0.7617, allocations: 0 / 0.7926 GB, free: 12.68 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.000883/0.7626, allocations: 248 kB / 0.7928 GB, free: 12.44 MB / 0.5452 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.006012/0.7686, allocations: 2.871 MB / 0.7956 GB, free: 9.535 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002868/0.7715, allocations: 1.252 MB / 0.7968 GB, free: 8.258 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.7715, allocations: 0 / 0.7968 GB, free: 8.258 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.7733, allocations: 0.8351 MB / 0.7977 GB, free: 7.395 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.7741, allocations: 78.17 kB / 0.7977 GB, free: 7.316 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.7907, allocations: 8.08 MB / 0.8056 GB, free: 15.03 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.7913, allocations: 0.9239 MB / 0.8065 GB, free: 14.08 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.7917, allocations: 77.06 kB / 0.8066 GB, free: 14 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.7921, allocations: 263.3 kB / 0.8068 GB, free: 13.75 MB / 0.5608 GB Notification: Performance of SimCode: time 1.052e-06/0.7921, allocations: 0 / 0.8068 GB, free: 13.75 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/0.8474, allocations: 18.34 MB / 0.8248 GB, free: 11.64 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.37, allocations: 0 / 0.8248 GB, free: 11.64 MB / 0.5764 GB " [Timeout remaining time 646] (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: 18.53699754131958] Failed to read output from testmodel.py, exit status != 0: 14.464608117938042 14.479650794 13.798937732 Calling exit ...