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.3356/0.3356, allocations: 80.24 MB / 99.33 MB, free: 5.559 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.0008386/0.0008386, allocations: 86.86 kB / 129.3 MB, free: 7.789 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.0009933/0.0009933, allocations: 165.4 kB / 159.4 MB, free: 8.945 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.8812/0.8812, allocations: 177.1 MB / 366.5 MB, free: 15.96 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.4423/0.4423, allocations: 60.89 MB / 0.4986 GB, free: 8.02 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.823e-06/1.823e-06, allocations: 0 / 0.6742 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.699e-05, allocations: 8.328 kB / 0.6742 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.002854/0.002871, allocations: 3.939 MB / 0.6781 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004228, allocations: 1.232 MB / 0.6793 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.004424, allocations: 11.94 kB / 0.6793 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.004687, allocations: 122.9 kB / 0.6794 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.00499, allocations: 258.1 kB / 0.6797 GB, free: 42.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.005594, allocations: 483.5 kB / 0.6801 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.005994, allocations: 0.8682 MB / 0.681 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.006156, allocations: 109.7 kB / 0.6811 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.006489, allocations: 0.491 MB / 0.6816 GB, free: 40.92 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.006795, allocations: 367 kB / 0.6819 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.006858, allocations: 68 kB / 0.682 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.00701, allocations: 131.8 kB / 0.6821 GB, free: 40.37 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.007087, allocations: 171.3 kB / 0.6823 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007203, allocations: 243.2 kB / 0.6825 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.007709, allocations: 0.8682 MB / 0.6833 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.007711, allocations: 0 / 0.6833 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.412e-06/0.007713, allocations: 4 kB / 0.6833 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.00772, 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.001692/0.009411, allocations: 1.151 MB / 0.6845 GB, free: 37.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.009446, allocations: 8.031 kB / 0.6845 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.881e-05/0.009505, allocations: 82.7 kB / 0.6846 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/0.01003, allocations: 192.3 kB / 0.6847 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.01056, allocations: 430 kB / 0.6852 GB, free: 37.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.01064, allocations: 66.64 kB / 0.6852 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.0107, allocations: 55.98 kB / 0.6853 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.01129, allocations: 0.5427 MB / 0.6858 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.01131, allocations: 7.891 kB / 0.6858 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.01134, allocations: 19.98 kB / 0.6858 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01135, allocations: 12 kB / 0.6858 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.01191, allocations: 491.7 kB / 0.6863 GB, free: 35.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.01371, allocations: 1.753 MB / 0.688 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.01425, allocations: 449.3 kB / 0.6884 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.01453, allocations: 255.1 kB / 0.6887 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.01457, allocations: 4.5 kB / 0.6887 GB, free: 33.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.01458, allocations: 39.06 kB / 0.6887 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=51): time 1.523e-06/0.01459, allocations: 0 / 0.6887 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.004559/0.01915, allocations: 2.709 MB / 0.6914 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.01917, allocations: 93.53 kB / 0.6915 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.01947, allocations: 0.4942 MB / 0.6919 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.0195, allocations: 37.7 kB / 0.692 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.01959, allocations: 288.6 kB / 0.6923 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.01966, allocations: 190.3 kB / 0.6924 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.01975, allocations: 94.3 kB / 0.6925 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.0198, allocations: 366.8 kB / 0.6929 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.02007, allocations: 241.2 kB / 0.6931 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.02037, allocations: 334.1 kB / 0.6934 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.02096, allocations: 0.5985 MB / 0.694 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02097, allocations: 4 kB / 0.694 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003564/0.02453, allocations: 1.723 MB / 0.6957 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02455, allocations: 5.156 kB / 0.6957 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.02455, allocations: 11.94 kB / 0.6957 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.02772, allocations: 1.179 MB / 0.6969 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.02794, allocations: 95.81 kB / 0.697 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/0.03422, allocations: 5.936 MB / 0.7028 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.03453, allocations: 31.97 kB / 0.7028 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.03455, allocations: 20 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.0001579/0.03471, allocations: 175 kB / 0.703 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.03478, allocations: 63.58 kB / 0.703 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.03682, allocations: 1.32 MB / 0.7043 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.03682, allocations: 4 kB / 0.7043 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03683, allocations: 7.938 kB / 0.7043 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.03683, allocations: 3.984 kB / 0.7043 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.0394, allocations: 1.863 MB / 0.7062 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0394, allocations: 0 / 0.7062 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.03961, allocations: 83.88 kB / 0.7062 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.04078, allocations: 0.5836 MB / 0.7068 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.04081, allocations: 12 kB / 0.7068 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.04403, allocations: 4.459 MB / 0.7112 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04403, allocations: 3.938 kB / 0.7112 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.04635, allocations: 1.783 MB / 0.7129 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.04642, allocations: 63.66 kB / 0.713 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.04646, allocations: 19.88 kB / 0.713 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.0467, allocations: 31.97 kB / 0.713 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.04684, allocations: 68.36 kB / 0.7131 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.04686, allocations: 20 kB / 0.7131 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002131/0.04708, allocations: 354.9 kB / 0.7134 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.04708, allocations: 0 / 0.7134 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004918/0.04757, allocations: 195.9 kB / 0.7136 GB, free: 7.117 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.002457/0.05002, allocations: 2.334 MB / 0.7159 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.05114, allocations: 0.8665 MB / 0.7168 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.05114, allocations: 0 / 0.7168 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.05177, allocations: 0.6447 MB / 0.7174 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.05216, allocations: 72.58 kB / 0.7175 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.06263, allocations: 7.366 MB / 0.7247 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.06282, allocations: 284.9 kB / 0.7249 GB, free: 11.29 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.06296, allocations: 56.36 kB / 0.725 GB, free: 11.23 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.06317, allocations: 208.4 kB / 0.7252 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of SimCode: time 5.41e-07/0.06317, allocations: 0 / 0.7252 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.09428, allocations: 19.03 MB / 0.7438 GB, free: 8.246 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/8.944, allocations: 10.55 kB / 0.7438 GB, free: 8.238 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 & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 12.202618012204766] Failed to read output from testmodel.py, exit status != 0: 9.042573106475174 9.054653483 9.044899767 Calling exit ...