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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.401/0.401, allocations: 78.54 MB / 94.18 MB, free: 3.918 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 123.8 kB / 113.8 MB, free: 9.793 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 188.5 kB / 133.4 MB, free: 6.145 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 222.9 MB / 375.8 MB, free: 3.777 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7477/0.7477, allocations: 62.28 MB / 0.4951 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 128.5 kB / 0.6437 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1753, allocations: 69.51 MB / 0.7115 GB, free: 13.99 MB / 0.4982 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.006895/0.1822, allocations: 4.667 MB / 0.7161 GB, free: 9.297 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1857, allocations: 1.391 MB / 0.7174 GB, free: 7.902 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.1865, allocations: 8 kB / 0.7175 GB, free: 7.895 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.1871, allocations: 126.8 kB / 0.7176 GB, free: 7.77 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1882, allocations: 278 kB / 0.7178 GB, free: 7.496 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1899, allocations: 0.5987 MB / 0.7184 GB, free: 6.898 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.1915, allocations: 1.057 MB / 0.7195 GB, free: 5.836 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.192, allocations: 177.3 kB / 0.7196 GB, free: 5.648 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.1928, allocations: 426.5 kB / 0.72 GB, free: 5.23 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000978/0.1937, allocations: 0.5408 MB / 0.7206 GB, free: 4.688 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.1939, allocations: 88 kB / 0.7206 GB, free: 4.602 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1943, allocations: 159.9 kB / 0.7208 GB, free: 4.445 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.1945, allocations: 215.2 kB / 0.721 GB, free: 4.234 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.195, allocations: 425.8 kB / 0.7214 GB, free: 3.816 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1965, allocations: 1.035 MB / 0.7224 GB, free: 2.777 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1965, allocations: 0 / 0.7224 GB, free: 2.777 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.996e-06/0.1965, allocations: 0 / 0.7224 GB, free: 2.777 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 2.165e-05/0.1965, allocations: 0 / 0.7224 GB, free: 2.777 MB / 0.4982 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.004634/0.2012, allocations: 1.433 MB / 0.7238 GB, free: 1.289 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2013, allocations: 8.031 kB / 0.7238 GB, free: 1.281 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.2014, allocations: 106.6 kB / 0.7239 GB, free: 1.168 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2025, allocations: 204.3 kB / 0.7241 GB, free: 0.9688 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2035, allocations: 0.5343 MB / 0.7246 GB, free: 400 kB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.2037, allocations: 75.02 kB / 0.7247 GB, free: 320 kB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2038, allocations: 55.94 kB / 0.7248 GB, free: 264 kB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2054, allocations: 0.7644 MB / 0.7255 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2054, allocations: 0 / 0.7255 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.2055, allocations: 28 kB / 0.7255 GB, free: 15.44 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.2055, allocations: 12 kB / 0.7256 GB, free: 15.43 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.2074, allocations: 0.8365 MB / 0.7264 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.2129, allocations: 2.856 MB / 0.7292 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.2151, allocations: 1.131 MB / 0.7303 GB, free: 10.39 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008779/0.216, allocations: 443.5 kB / 0.7307 GB, free: 9.953 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-05/0.2161, allocations: 16.62 kB / 0.7307 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.2162, allocations: 43.22 kB / 0.7307 GB, free: 9.883 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=80): time 2.966e-06/0.2162, allocations: 0 / 0.7307 GB, free: 9.883 MB / 0.5138 GB Notification: Performance of matching and sorting (n=81): time 0.01233/0.2285, allocations: 3.904 MB / 0.7346 GB, free: 5.898 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.2286, allocations: 89.77 kB / 0.7346 GB, free: 5.793 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.2295, allocations: 0.5263 MB / 0.7352 GB, free: 5.262 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.2297, allocations: 37.7 kB / 0.7352 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.23, allocations: 309.1 kB / 0.7355 GB, free: 4.91 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.2304, allocations: 297.4 kB / 0.7358 GB, free: 4.617 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.2306, allocations: 126.6 kB / 0.7359 GB, free: 4.488 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2308, allocations: 382.8 kB / 0.7363 GB, free: 4.105 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.2317, allocations: 357.8 kB / 0.7366 GB, free: 3.754 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009779/0.2327, allocations: 0.4927 MB / 0.7371 GB, free: 3.215 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.2345, allocations: 0.8906 MB / 0.738 GB, free: 2.277 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2345, allocations: 0 / 0.738 GB, free: 2.277 MB / 0.5138 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005282/0.2398, allocations: 1.72 MB / 0.7396 GB, free: 0.5391 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.2399, allocations: 8 kB / 0.7396 GB, free: 0.5312 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.2399, allocations: 7.938 kB / 0.7396 GB, free: 0.5234 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/0.2423, allocations: 0.5785 MB / 0.7402 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009132/0.2433, allocations: 135.8 kB / 0.7403 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.2539, allocations: 5.758 MB / 0.746 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.2553, allocations: 60.02 kB / 0.746 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.2554, allocations: 28 kB / 0.746 GB, free: 9.676 MB / 0.5294 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.0004023/0.2558, allocations: 197.6 kB / 0.7462 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.256, allocations: 71.53 kB / 0.7463 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.261, allocations: 1.708 MB / 0.748 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.261, allocations: 8 kB / 0.748 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.2611, allocations: 4 kB / 0.748 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.2611, allocations: 3.984 kB / 0.748 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00643/0.2675, allocations: 2.667 MB / 0.7506 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.2676, allocations: 0 / 0.7506 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.2684, allocations: 111.8 kB / 0.7507 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/0.2705, allocations: 0.5573 MB / 0.7512 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/0.2706, allocations: 15.94 kB / 0.7513 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008398/0.279, allocations: 5.367 MB / 0.7565 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.279, allocations: 0 / 0.7565 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.2849, allocations: 2.322 MB / 0.7588 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.2852, allocations: 148.7 kB / 0.7589 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.2853, allocations: 16 kB / 0.7589 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/0.2861, allocations: 47.95 kB / 0.759 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.2864, allocations: 84.53 kB / 0.759 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.648e-05/0.2865, allocations: 31.88 kB / 0.7591 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004643/0.2869, allocations: 374.8 kB / 0.7594 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2869, allocations: 0 / 0.7594 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009129/0.2879, allocations: 248 kB / 0.7597 GB, free: 11.28 MB / 0.545 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.006287/0.2942, allocations: 2.89 MB / 0.7625 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003047/0.2972, allocations: 1.303 MB / 0.7638 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2973, allocations: 0 / 0.7638 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/0.2993, allocations: 0.8819 MB / 0.7646 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/0.3003, allocations: 82.22 kB / 0.7647 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.3184, allocations: 8.12 MB / 0.7726 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.319, allocations: 0.9277 MB / 0.7735 GB, free: 12.76 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0005306/0.3196, allocations: 85 kB / 0.7736 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.3201, allocations: 255.3 kB / 0.7739 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of SimCode: time 1.092e-06/0.3201, allocations: 0 / 0.7739 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.3721, allocations: 18.15 MB / 0.7916 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/14.76, allocations: 11.17 kB / 0.7916 GB, free: 10.51 MB / 0.5763 GB (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)