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.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.3195/0.3195, 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.0008387/0.0008387, allocations: 79.69 kB / 129.3 MB, free: 7.785 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.0009574/0.0009574, allocations: 164.3 kB / 159.4 MB, free: 8.953 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.8274/0.8274, allocations: 177.1 MB / 366.5 MB, free: 15.99 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.4281/0.4281, allocations: 60.88 MB / 0.4986 GB, free: 8.047 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.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 1.483e-06/1.483e-06, allocations: 0 / 0.6742 GB, free: 48.47 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.031e-05, allocations: 6.219 kB / 0.6742 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.002977/0.002997, allocations: 3.945 MB / 0.6781 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004461, allocations: 1.232 MB / 0.6793 GB, free: 43.26 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.004663, allocations: 7.938 kB / 0.6793 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.004943, allocations: 122.9 kB / 0.6794 GB, free: 43.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.005337, allocations: 262.1 kB / 0.6797 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.005966, allocations: 482.4 kB / 0.6801 GB, free: 42.4 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000393/0.006359, allocations: 0.8643 MB / 0.681 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.006529, allocations: 117.7 kB / 0.6811 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.00686, allocations: 0.491 MB / 0.6816 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.007153, allocations: 355 kB / 0.6819 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.00721, allocations: 68 kB / 0.682 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.007358, allocations: 127.9 kB / 0.6821 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.00743, allocations: 175.3 kB / 0.6823 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.007542, allocations: 247.2 kB / 0.6825 GB, free: 39.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.008038, allocations: 0.8721 MB / 0.6833 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.008042, allocations: 0 / 0.6833 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.008043, allocations: 4 kB / 0.6833 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.008051, allocations: 0 / 0.6833 GB, free: 39.09 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001597/0.009649, allocations: 1.147 MB / 0.6845 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.009694, allocations: 8.031 kB / 0.6845 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.261e-05/0.009756, allocations: 90.7 kB / 0.6846 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.01023, allocations: 188.3 kB / 0.6847 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01069, allocations: 430 kB / 0.6851 GB, free: 37.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.01076, allocations: 74.62 kB / 0.6852 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.01081, allocations: 44 kB / 0.6853 GB, free: 37.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.01139, allocations: 0.5505 MB / 0.6858 GB, free: 36.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.01141, allocations: 3.953 kB / 0.6858 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.01145, allocations: 20 kB / 0.6858 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.01146, allocations: 16 kB / 0.6858 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.01201, allocations: 483.7 kB / 0.6863 GB, free: 35.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.01381, allocations: 1.754 MB / 0.688 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.01437, allocations: 450.9 kB / 0.6884 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.01464, allocations: 255.1 kB / 0.6887 GB, free: 33.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.01468, allocations: 8.5 kB / 0.6887 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.489e-05/0.0147, allocations: 43.06 kB / 0.6887 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=51): time 2.494e-06/0.0147, allocations: 0 / 0.6887 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.004388/0.01909, allocations: 2.705 MB / 0.6914 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.01912, allocations: 85.61 kB / 0.6915 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.01943, allocations: 0.4981 MB / 0.6919 GB, free: 30.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01946, allocations: 29.7 kB / 0.692 GB, free: 29.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.01955, allocations: 296.6 kB / 0.6923 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.01962, allocations: 186.3 kB / 0.6924 GB, free: 29.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.01972, allocations: 94.3 kB / 0.6925 GB, free: 29.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.01977, allocations: 370.8 kB / 0.6929 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.02004, allocations: 233.2 kB / 0.6931 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.02033, allocations: 342.1 kB / 0.6934 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.02091, allocations: 0.6024 MB / 0.694 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02091, allocations: 0 / 0.694 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00343/0.02434, allocations: 1.726 MB / 0.6957 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.02436, allocations: 8 kB / 0.6957 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.02437, allocations: 7.938 kB / 0.6957 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.02744, allocations: 1.169 MB / 0.6969 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.02769, allocations: 103.8 kB / 0.697 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.03369, allocations: 5.934 MB / 0.7027 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.03409, allocations: 39.97 kB / 0.7028 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.03411, allocations: 16 kB / 0.7028 GB, free: 18.55 MB / 0.5105 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.0001855/0.0343, allocations: 182.3 kB / 0.703 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.03436, allocations: 63.56 kB / 0.703 GB, free: 18.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.03639, allocations: 1.309 MB / 0.7043 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.0364, allocations: 8 kB / 0.7043 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0364, allocations: 4 kB / 0.7043 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.03641, allocations: 7.984 kB / 0.7043 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.03893, allocations: 1.866 MB / 0.7062 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.03893, allocations: 0 / 0.7062 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.03914, allocations: 75.89 kB / 0.7062 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.04029, allocations: 0.5909 MB / 0.7068 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.04031, allocations: 8 kB / 0.7068 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.04352, allocations: 4.462 MB / 0.7112 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.04352, allocations: 8 kB / 0.7112 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.04585, allocations: 1.783 MB / 0.7129 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.04594, allocations: 59.66 kB / 0.713 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.04599, allocations: 12 kB / 0.713 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.04624, allocations: 35.91 kB / 0.713 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.0464, allocations: 72.36 kB / 0.7131 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.04642, allocations: 12.31 kB / 0.7131 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002256/0.04665, allocations: 354.9 kB / 0.7134 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04665, allocations: 0 / 0.7134 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005317/0.04718, allocations: 199.9 kB / 0.7136 GB, free: 7.129 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,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.002455/0.04963, allocations: 2.334 MB / 0.7159 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.05091, allocations: 0.8744 MB / 0.7168 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.05092, allocations: 0 / 0.7168 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.05159, allocations: 0.6447 MB / 0.7174 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.05206, allocations: 57.95 kB / 0.7174 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.06318, allocations: 7.371 MB / 0.7246 GB, free: 11.61 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.0634, allocations: 284.9 kB / 0.7249 GB, free: 11.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.06359, allocations: 60.34 kB / 0.725 GB, free: 11.24 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.06381, allocations: 212.4 kB / 0.7252 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of SimCode: time 1.393e-06/0.06381, allocations: 0 / 0.7252 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.09618, allocations: 19.01 MB / 0.7437 GB, free: 8.258 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.443, allocations: 18.88 kB / 0.7438 GB, free: 8.242 MB / 0.5418 GB " [Timeout remaining time 651] (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: 11.384533264674246] Failed to read output from testmodel.py, exit status != 0: 8.539693740196526 8.549906082 8.538966366 Calling exit ...